Nagios is a OS monitoring system
Random Notes ill clean up later =)[edit]
This is a list of random notes i am using whilst deploying Nagios in a customer environment, I will clean these up in to a bit of a pholisy later =)
Check your config[edit]
before reloading its all ways a good idea to check your config
[Nagios base directory]/bin/nagios -v [Nagios base directory]/etc/nagios.cfg
eg
/opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg
Define a new service check for a group[edit]
this will add a new service check to all hosts in the solaris host group
define service { service_description if_config display_name if Config check_command check_nrpe!check_ifcfg use generic-service hostgroup_name solaris }
Restarting Nagios[edit]
After adding a new service check or changing the config in general, you will have to make Nagios reload its config files or restart Nagios. Most times a reload is enough. So:
/etc/init.d/nagios reload
or, if that doesnt work,
/etc/init.d/nagios restart
This applies to a Redhat or Debian based Linux distribution. The init scripts might be in other places on different operating systems or distributions.
Nagios and Mediawiki[edit]
Checks[edit]
see: Nagios/checks