User Permission Issue In Nagios Server To Access the Host
User permission issue while seeing the hosts & services on the server, this is because the user does not have permission to see that. you can not login with the admin user in the Nagios server because there’s no user permission for admin.
when you installed Nagios on the Linux machine and trying to access the web interface using the admin then it will not allow you because there’s no permission for admin to access.
Now you have to add the following code in the Nagios configuration file.
Check Out: Add Linux Host In Nagios Server
I have admin user here on Nagios Server, Now I will have to give permission to Admin to see hosts & services.
You will have to paste these lines, Change admin with your username of Nagios Server.
authorized_for_all_host_commands=admin authorized_for_all_hosts=admin authorized_for_all_service_commands=admin authorized_for_all_services=admin authorized_for_configuration_information=admin authorized_for_system_commands=admin authorized_for_system_information=admin
And save the file.
Check Out: install Nagios Core 4
If you do not see these line use_authentication=1, so you have to also put these line in cgi.cfg file.
Now refresh the Nagios Server, You will be able to see Hosts & services.
YouTube Link: Permission issue in Nagios
You’re done can not login nagios admin