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?
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.