Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Nagios user used by this extension must have CGI access to the state of all Nagios environment. For Nagios XI use default admin user!

Create Nagios 4.x user

The web server must use Basic authentication.

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

...

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

  • /etc/nagios/htpasswd.users

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

...

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,dynauserauthorized_for_configuration_information=nagiosadmin,dynauser

  • authorized_for_all_services=nagiosadmin,dynauser

  • authorized_for_all_hosts=nagiosadmin,dynauser

Create NagiosXI user

For NagiosXI you can use the default admin user or create a new one dedicated for the extension.

Create a user with the following Security Settings

...