To see the options of a check use the -h option.įor example: /usr/lib/nagios/plugins/check_dhcp -h usr/lib/nagios/plugins/: where the check binaries are stored. etc/nagios: on the remote host contains the nagios-nrpe-server configuration files. etc/nagios-plugins: houses configuration files for the service checks. etc/nagios3: contains configuration files for the operation of the nagios daemon, CGI files, hosts, etc. There are a couple of directories containing Nagios configuration and check files. There are other ways of accomplishing this through other Nagios plugins as well as other checks. NRPE allows you to execute local checks on remote hosts. From a terminal on server02 enter: sudo apt install nagios-nrpe-server Next, on server02 install the nagios-nrpe-server package. To add a user: sudo htpasswd /etc/nagios3/ers steve To change the nagiosadmin password, or add additional users to the Nagios CGI scripts, use the htpasswd that is part of the apache2-utils package.įor example, to change the password for the nagiosadmin user enter: sudo htpasswd /etc/nagios3/ers nagiosadmin The user’s credentials are stored in /etc/nagios3/ers. You will be asked to enter a password for the nagiosadmin user. In a terminal enter: sudo apt install nagios3 nagios-nrpe-plugin
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |