From 04e4d36f7a14d6cc2ace053cf4dd177967ae8091 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 22 Sep 2008 15:06:52 +0000 Subject: [PATCH] fix check_http?_hostname* --- debian/changelog | 1 + debian/pluginconfig/http.cfg | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7396c0d..e60c768 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ nagios-plugins (1.4.12-4) UNRELEASED; urgency=low patch was incomplete * add warning and critical threshold to check_disk_smb_user command definition + * fix check_http?_hostname* command definitions -- Jan Wagner Sun, 24 Aug 2008 07:40:12 +0200 diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg index caa620f..d3fdbce 100644 --- a/debian/pluginconfig/http.cfg +++ b/debian/pluginconfig/http.cfg @@ -31,7 +31,7 @@ define command{ # 'check_https_hostname' command definition define command{ command_name check_https_hostname - command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' } # 'check_https_auth' command definition @@ -43,7 +43,7 @@ define command{ # 'check_https_auth_hostname' command definition define command{ command_name check_https_auth_hostname - command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' } # 'check_cups' command definition @@ -65,7 +65,7 @@ define command{ # 'check_http_hostname_4' command definition define command{ command_name check_httpname_4 - command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME' -I '$HOSTADDRESS$' -4 + command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 } # 'check_http2_4' command definition @@ -89,7 +89,7 @@ define command{ # 'check_https_hostname_4' command definition define command{ command_name check_https_hostname_4 - command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -4 + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 } # 'check_https_auth_4' command definition