provide new checks for check_http which makes use of -H 'schuhkarton'

This commit is contained in:
Jan Wagner 2008-06-06 13:24:43 +00:00
parent 93d4faf21a
commit 05e51472aa
2 changed files with 38 additions and 2 deletions

2
debian/changelog vendored
View file

@ -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 * add 37_check_radius_nas-ip-address.dpatch to add support for nas-ip to
check_radius, thanks Josip Rodin <joy@debbugs.entuzijast.net> for check_radius, thanks Josip Rodin <joy@debbugs.entuzijast.net> for
providing it (Closes: #482947) providing it (Closes: #482947)
* provide new checks for check_http which makes use of "-H '$HOSTNAME'"
(Closes: #423461)
[ Alexander Wirt ] [ Alexander Wirt ]
* Call smbclient with -N (supress password prompt) if no password is * Call smbclient with -N (supress password prompt) if no password is

View file

@ -4,6 +4,11 @@ define command{
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' 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 # 'check_http2' command definition
define command{ define command{
@ -21,7 +26,13 @@ define command{
define command{ define command{
command_name check_https command_name check_https
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' 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 # 'check_https_auth' command definition
define command{ define command{
@ -29,6 +40,12 @@ define command{
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' 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 # 'check_cups' command definition
define command{ define command{
command_name check_cups command_name check_cups
@ -45,6 +62,11 @@ define command{
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 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 # 'check_http2_4' command definition
define command{ define command{
@ -62,7 +84,13 @@ define command{
define command{ define command{
command_name check_https_4 command_name check_https_4
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -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 # 'check_https_auth_4' command definition
define command{ define command{
@ -70,6 +98,12 @@ define command{
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 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 # 'check_cups_4' command definition
define command{ define command{
command_name check_cups_4 command_name check_cups_4