From 012f62be3ba45140bf3b74ec9bf83b48dde654d9 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 11 Jul 2013 11:36:37 +0000 Subject: [PATCH] check_squid* was broken with additional argument --- debian/changelog | 2 +- debian/pluginconfig/http.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2bf6a75..5702ab2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ nagios-plugins (1.4.16-3) UNRELEASED; urgency=low - * NOT RELEASED YET + * Fixed check_squid* command definitions -- Jan Wagner Wed, 10 Jul 2013 15:16:26 +0200 diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg index 9990066..ff058b2 100644 --- a/debian/pluginconfig/http.cfg +++ b/debian/pluginconfig/http.cfg @@ -19,7 +19,7 @@ define command{ # 'check_squid' command definition define command{ command_name check_squid - command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' '$ARG3$' + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' } # 'check_https' command definition @@ -77,7 +77,7 @@ define command{ # 'check_squid_4' command definition define command{ command_name check_squid_4 - command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' -4 '$ARG3$' + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' -4 } # 'check_https_4' command definition