From acd2f5badb50a562eec3ce1a366799a47dcc61d4 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Wed, 3 Feb 2010 11:10:29 +0000 Subject: Add three Nagios checks to detect bugs in /etc/resolv.conf, /etc/hosts and a shutdown in progress. --- nagios-nrpe-commands.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nagios-nrpe-commands.cfg') 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$ -- cgit v1.2.3