Thursday, April 17, 2008

ntpadate/nagios

Just a couple of notes..

Nagios --> after changes run:

582 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
583 /etc/init.d/nagios restart

Ntpdate --> run

595 ntpdate xxx.xxx.xxx.xxx

Nagios --> Configure Nagios to automatically start when the system boots.

#ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios


Nagios --> add users
a) create the user
htpasswd /usr/local/nagios/etc/htpasswd.users username
b) give rights to see hosts/services/etc.
vi /usr/local/nagios/etc/cfig.cfg

No comments: