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-nrpe-commands.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-nrpe-commands.cfg')
-rw-r--r-- | nagios-nrpe-commands.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nagios-nrpe-commands.cfg b/nagios-nrpe-commands.cfg index 7ce030e..11e5ccf 100644 --- a/nagios-nrpe-commands.cfg +++ b/nagios-nrpe-commands.cfg @@ -4,6 +4,8 @@ command[check_apt]=/usr/lib/nagios/plugins/check_apt command[check_dhcp]=/usr/lib/nagios/plugins/check_dhcp command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ +command[check_etc_hosts]=/usr/lib/sitesummary/nagios-plugins/check_etc_hosts +command[check_etc_resolv]=/usr/lib/sitesummary/nagios-plugins/check_etc_resolv command[check_ftp]=/usr/lib/nagios/plugins/check_ftp -H localhost command[check_kernel_status]=/usr/lib/sitesummary/nagios-plugins/check_kernel_status command[check_linux_raid]=/usr/lib/nagios/plugins/check_linux_raid @@ -12,5 +14,6 @@ command[check_ntp]=/usr/lib/nagios/plugins/check_ntp -H localhost command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ command[check_procs_cron]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C cron command[check_procs_zombie]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s Z +command[check_shutdown]=/usr/lib/sitesummary/nagios-plugins/check_shutdown command[check_smtp]=/usr/lib/nagios/plugins/check_smtp -H localhost command[check_swap]=/usr/lib/nagios/plugins/check_swap -w $ARG1 -c $ARG2$ |