[Pkg-nagios-changes] [pkg-nagios-plugins] 141/413: provide new checks for check_http which makes use of -H 'schuhkarton'

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:16 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 05e51472aa52682b37965d4af36ce4ac033ca5b9
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Jun 6 13:24:43 2008 +0000

    provide new checks for check_http which makes use of -H 'schuhkarton'
---
 debian/changelog             |  2 ++
 debian/pluginconfig/http.cfg | 38 ++++++++++++++++++++++++++++++++++++--
 2 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1871c81..cf94962 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,8 @@ nagios-plugins (1.4.12-1) UNRELEASED; urgency=low
   * add 37_check_radius_nas-ip-address.dpatch to add support for nas-ip to
     check_radius, thanks Josip Rodin <joy at debbugs.entuzijast.net> for
     providing it (Closes: #482947)
+  * provide new checks for check_http which makes use of "-H '$HOSTNAME'"
+    (Closes: #423461)
 
   [ Alexander Wirt ]
   * Call smbclient with -N (supress password prompt) if no password is
diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg
index eac88f8..caa620f 100644
--- a/debian/pluginconfig/http.cfg
+++ b/debian/pluginconfig/http.cfg
@@ -4,6 +4,11 @@ define command{
 	command_line	/usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$'
 	}
 
+# 'check_http_hostname' command definition
+define command{
+	command_name	check_httpname
+	command_line	/usr/lib/nagios/plugins/check_http -H '$HOSTNAME' -I '$HOSTADDRESS$'
+	}
 
 # 'check_http2' command definition
 define command{
@@ -21,7 +26,13 @@ define command{
 define command{
 	command_name    check_https
 	command_line	/usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$'
-}
+	}
+
+# '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$'
+	}
 
 # 'check_https_auth' command definition
 define command{
@@ -29,6 +40,12 @@ define command{
 	command_line	/usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$'
 	}
 
+# '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$'
+	}
+
 # 'check_cups' command definition
 define command{
 	command_name	check_cups
@@ -45,6 +62,11 @@ define command{
         command_line    /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4
         }
 
+# '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
+	}
 
 # 'check_http2_4' command definition
 define command{
@@ -62,7 +84,13 @@ define command{
 define command{
         command_name    check_https_4
         command_line    /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4
-}
+	}
+
+# '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
+	}
 
 # 'check_https_auth_4' command definition
 define command{
@@ -70,6 +98,12 @@ define command{
         command_line    /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4
         }
 
+# 'check_https_auth_hostname_4' command definition
+define command{
+	command_name	check_https_auth_hostname_4
+	command_line	/usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -4
+	}
+
 # 'check_cups_4' command definition
 define command{
 	command_name	check_cups_4

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list