You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nagios: It appears as though you do not have permission to view information for any of the hosts you requested… web user isnt aded in the cgi.cfg file
#2
If we use a different user than nagios admin at the end of the script wizard, that user isnt added to the cgi.cfg file making thus the user not being able to access the information on the web interface
that user should be added in the following fields :
authorized_for_system_information=nagiosadmin,<nagios_web_user_here>
In my case I use a "online" username so I edited the following fields in the cgi.cfg file :
If we use a different user than nagios admin at the end of the script wizard, that user isnt added to the cgi.cfg file making thus the user not being able to access the information on the web interface
that user should be added in the following fields :
authorized_for_system_information=nagiosadmin,<nagios_web_user_here>
In my case I use a "online" username so I edited the following fields in the cgi.cfg file :
authorized_for_system_information=online
authorized_for_configuration_information=online
authorized_for_system_commands=online
authorized_for_all_services=online
authorized_for_all_hosts=online
authorized_for_all_service_commands=online
authorized_for_all_host_commands=online
I suggest doing something like this
sed -i 's/nagiosadmin$/nagiosadmin,$webUser/' againtst the cgi.cfg file
The text was updated successfully, but these errors were encountered: