And I wanted to create a read-only user for the web gui, I added a user to htpasswd.users
and added the username as below into cgi.cfg
Code: Select all
[root@n0lnagp01 nagios]# grep nagiosview cgi.cfg
authorized_for_all_services=nagiosadmin,nagiosview
authorized_for_all_hosts=nagiosadmin,nagiosview
authorized_for_read_only=nagiosview
and even tried a reboot in case there were other processes than need restarting.
But my new user doesn't seem to be getting created, as from the httpd error_log i get this error
Code: Select all
[root@n0lnagp01 nagios]# grep nagiosview --color /var/log/httpd/error_log
[Fri Jan 26 12:01:00.588984 2018] [auth_basic:error] [pid 33630] [client 10.60.147.113:59438] AH01618: user nagiosview not found: /nagios