diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-02-03 11:10:29 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-02-03 11:10:29 +0000 |
commit | acd2f5badb50a562eec3ce1a366799a47dcc61d4 (patch) | |
tree | 31d381677779611e51d6660b22166621586b5d71 /nagios-templates.cfg | |
parent | 2d09fecaba4a28a66b66fc216ee8bdf1f5fac8e0 (diff) | |
download | sitesummary-acd2f5badb50a562eec3ce1a366799a47dcc61d4.tar.gz sitesummary-acd2f5badb50a562eec3ce1a366799a47dcc61d4.tar.bz2 sitesummary-acd2f5badb50a562eec3ce1a366799a47dcc61d4.tar.xz |
Add three Nagios checks to detect bugs in /etc/resolv.conf, /etc/hosts
and a shutdown in progress.
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r-- | nagios-templates.cfg | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg index d751345..5b783ac 100644 --- a/nagios-templates.cfg +++ b/nagios-templates.cfg @@ -108,6 +108,16 @@ define command{ command_line /usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } +define command { + command_name check_etc_hosts + comamnd_line /usr/lib/sitesummary/nagios-plugins/check_etc_hosts +} + +define command { + command_name check_etc_resolv + command_line /usr/lib/sitesummary/nagios-plugins/check_etc_resolv +} + define command{ command_name check_http command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ @@ -123,6 +133,11 @@ define command{ command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } +define command { + command_name check_shutdown + command_line /usr/lib/sitesummary/nagios-plugins/check_shutdown +} + define command{ command_name check_ssh command_line /usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$ |