From 3c838fb70c792c65e49cf77359032b1b01b330c6 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 26 Apr 2007 09:38:27 +0000 Subject: [PATCH] add check for cups webinterface --- debian/pluginconfig/http.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg index 60e232a..dc19078 100644 --- a/debian/pluginconfig/http.cfg +++ b/debian/pluginconfig/http.cfg @@ -29,6 +29,12 @@ define command{ command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -a $ARG1$ } +# 'check_cups' command definition +define command{ + command_name check_cups + command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p 631 + } + #### # use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems #### @@ -63,3 +69,9 @@ define command{ command_name check_https_auth_4 command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -a $ARG1$ -4 } + +# 'check_cups_4' command definition +define command{ + command_name check_cups_4 + command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p 631 -4 + }