Adding an user problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
tworec
Posts: 2
Joined: Thu Apr 25, 2013 4:08 am

Adding an user problem

Post by tworec »

I follow simple steps from guides all over the web:

1. add an user to Nagios via command htpasswd htpasswd.users username

2. in cgi.cfg file add this user to lines
authorized_for_system_information=nagiosadmin, username
authorized_for_configuration_information=nagiosadmin, username
authorized_for_system_commands=nagiosadmin, username
authorized_for_all_services=nagiosadmin, username
authorized_for_all_hosts=nagiosadmin, username
authorized_for_all_service_commands=nagiosadmin, username
authorized_for_all_host_commands=nagiosadmin, username


3. restart nagios3 service, even restart apache2 service

but when I try to list anything from nagios web interface it still gives me this annoying message:
It appears as though you do not have permission to view information for any of the services you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.


Where could be a problem please?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Adding an user problem

Post by slansing »

Locking this thread as a double post..
Locked