Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Nagios user and permissions

Nagios user used by this extension must have CGI access to the state of all Nagios environment.

For Nagios XI use default admin user!

For Nagios 4.x you can use default admin user or you can create a new one dedicated for the extension. Let’s say we have nagiosadmin as an default admin user and we are going to create new user dynauser

Create Nagios 4.x user

  1. Locate full path to your htpasswd.users file. It’s usual locations are

  • /etc/nagios/htpasswd.users

  • /usr/local/nagios/etc/htpasswd.users

2. Let’s say path is /usr/local/nagios/etc so issue command to add user htpasswd /usr/local/nagios/etc/htpasswd.users dynauser

3. edit file cgi.cfg, it is located in same directory as htpasswd.users and add after your admin user newly created dynauser

  • authorized_for_system_information=nagiosadmin,dynauser

  • authorized_for_configuration_information=nagiosadmin,dynauser

  • authorized_for_all_services=nagiosadmin,dynauser

  • authorized_for_all_hosts=nagiosadmin,dynauser

Create NagiosXI user

Create a user with following Security Settings

  • No labels