AVarf
AVarf

Reputation: 5149

Nagios web interface doesn't accept the credentials

I have a nagios4 instance running in a container and based on "nagios4_inspect" file the credentials are:

"NAGIOSADMIN_USER=nagiosadmin",
"NAGIOSADMIN_PASS=nagios",

But when I go to the http://localhost/nagios and insert the credentials it doesn't accept it. Am I doing something wrong?

Upvotes: 0

Views: 407

Answers (1)

sat
sat

Reputation: 46

Please go to below location and reset the password sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin/

Before apply the above command, please verify the file location of htpasswd.

Upvotes: 0

Related Questions