Content added Content deleted
imported>DrOwl No edit summary |
imported>DrOwl No edit summary |
||
Line 29: | Line 29: | ||
hostgroup_name solaris |
hostgroup_name solaris |
||
} |
} |
||
[[Category:Nagios]] |
Revision as of 11:29, 12 December 2008
Nagios is a OS monitoring system [1]
Random Notes ill clean up later =)
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
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
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 }