From 5b163cd80d9fc84ac5c7bb5785fcce8d1b588c5a Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 17 Nov 2008 21:36:58 +0000 Subject: [PATCH] fixing check_cups --- debian/changelog | 2 ++ debian/pluginconfig/http.cfg | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8565a8c..12534c6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ nagios-plugins (1.4.12-5) UNRELEASED; urgency=low * add missing auth pair parameter to check_https_auth_hostname* command definitions + * changing check_cups command to use host headers anymore, since cups changed + it's behavior in etch (Closes: #505610) -- Jan Wagner Thu, 02 Oct 2008 00:45:31 +0200 diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg index 56fa6c0..563869f 100644 --- a/debian/pluginconfig/http.cfg +++ b/debian/pluginconfig/http.cfg @@ -49,7 +49,7 @@ define command{ # 'check_cups' command definition define command{ command_name check_cups - command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p 631 + command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 } #### @@ -107,5 +107,5 @@ define command{ # '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 + command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 }