|
Additions
Nagios
When configuring Nagios, Nagios authentication will be done based on the Sipman authentication files.
Run through the following steps:
- apt-get install nagios-text (no need for databases).
- edit the file vi /etc/default/nagios
- Run nagios -v /etc/nagios/nagios.cfg, to check for config errors (should be oke).
- Run ps -ax|grep nagios to test if nagios is running.
- Edit /etc/nagios/apache.conf, replacing the auth password file.
- Edit /etc/nagios/cgi.cfg, adding netadmin to lines with =nagiosadmin.
# AuthUserFile /etc/nagios/htpasswd.users
AuthUserFile /var/sipman3/shared/passwd/mrtgusers
- Replace the nagios user with netadmin in the contacts.cfg file with vi s/nagios/netdadmin/g.
- contactgroups.cfg
- Remove replaced cfg files and add definitions for the generated file.
#cfg_file=/etc/nagios/contactgroups.cfg
#cfg_file=/etc/nagios/hostgroups.cfg
#cfg_file=/etc/nagios/hosts.cfg
#cfg_file=/etc/nagios/services.cfg
cfg_file=/var/sipman3/data/local/extra/nagios/nagiosDefinitions.cfg
working on it, be patient
|
|