Use $HOSTADDRESS$ in the ITL commands.

Fixes #5895
This commit is contained in:
Gunnar Beutner 2014-03-31 08:48:01 +02:00
parent aba2a09245
commit a7136b6f5c
1 changed files with 11 additions and 11 deletions

View File

@ -23,7 +23,7 @@ object CheckCommand "ping4" {
command = [ command = [
"$plugindir$/check_ping", "$plugindir$/check_ping",
"-4", "-4",
"-H", "$address$", "-H", "$HOSTADDRESS$",
"-w", "$wrta$,$wpl$%", "-w", "$wrta$,$wpl$%",
"-c", "$crta$,$cpl$%", "-c", "$crta$,$cpl$%",
"-p", "$packets$", "-p", "$packets$",
@ -48,7 +48,7 @@ object CheckCommand "ping6" {
command = [ command = [
"$plugindir$/check_ping", "$plugindir$/check_ping",
"-6", "-6",
"-H", "$address6$", "-H", "$HOSTADDRESS6$",
"-w", "$wrta$,$wpl$%", "-w", "$wrta$,$wpl$%",
"-c", "$crta$,$cpl$%", "-c", "$crta$,$cpl$%",
"-p", "$packets$", "-p", "$packets$",
@ -96,7 +96,7 @@ object CheckCommand "tcp" {
command = [ command = [
"$plugindir$/check_tcp", "$plugindir$/check_tcp",
"-H", "$address$", "-H", "$HOSTADDRESS$",
"-p", "$port$" "-p", "$port$"
] ]
} }
@ -106,7 +106,7 @@ object CheckCommand "udp" {
command = [ command = [
"$plugindir$/check_udp", "$plugindir$/check_udp",
"-H", "$address$", "-H", "$HOSTADDRESS$",
"-p", "$port$" "-p", "$port$"
] ]
} }
@ -125,7 +125,7 @@ object CheckCommand "http_ip" {
command = [ command = [
"$plugindir$/check_http", "$plugindir$/check_http",
"-H", "$address$" "-H", "$HOSTADDRESS$"
] ]
} }
@ -143,7 +143,7 @@ object CheckCommand "https_ip" {
command = [ command = [
"$plugindir$/check_http", "$plugindir$/check_http",
"-I", "$address$", "-S" "-I", "$HOSTADDRESS$", "-S"
] ]
} }
@ -152,7 +152,7 @@ object CheckCommand "smtp" {
command = [ command = [
"$plugindir$/check_smtp", "$plugindir$/check_smtp",
"-H", "$address$" "-H", "$HOSTADDRESS$"
] ]
} }
@ -161,7 +161,7 @@ object CheckCommand "ssmtp" {
command = [ command = [
"$plugindir$/check_ssmtp", "$plugindir$/check_ssmtp",
"-H", "$address$", "-H", "$HOSTADDRESS$",
"-p", "$port$" "-p", "$port$"
], ],
@ -175,7 +175,7 @@ object CheckCommand "ntp_time" {
command = [ command = [
"$plugindir$/check_ntp_time", "$plugindir$/check_ntp_time",
"-H", "$address$" "-H", "$HOSTADDRESS$"
] ]
} }
@ -184,7 +184,7 @@ object CheckCommand "ssh" {
command = [ command = [
"$plugindir$/check_ssh", "$plugindir$/check_ssh",
"$address$" "$HOSTADDRESS$"
] ]
} }
@ -258,7 +258,7 @@ object CheckCommand "snmp"{
command = [ command = [
"$plugindir$/check_snmp", "$plugindir$/check_snmp",
"-H", "$address$", "-H", "$HOSTADDRESS$",
"-o", "$oid$", "-o", "$oid$",
"-C", "$community$" "-C", "$community$"
], ],