From 1d32feb825442eb26e978456d7f3d6ef6463d2b8 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sat, 24 Dec 2011 08:32:10 +0000 Subject: Make sure DNS, IMAPS and Squid checks can be tested on clients as well as the server. --- 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 4bbbeda..2cf40eb 100644 --- a/nagios-nrpe-commands.cfg +++ b/nagios-nrpe-commands.cfg @@ -17,3 +17,6 @@ command[check_procs_zombie]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $AR 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$ +command[check_dns]=/usr/lib/nagios/plugins/check_dns -H $HOSTADDRESS$ +command[check_squid]=/usr/lib/nagios/plugins/check_http -H localhost -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK' +command[check_imaps]=/usr/lib/nagios/plugins/check_imap -p 993 -H localhost -S -- cgit v1.2.3