From: Tobias von der Krone Date: Thu, 11 Sep 2014 06:55:59 +0000 (+0200) Subject: Move fping_address to command array because it must always be the first argument X-Git-Tag: v2.1.1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58a84c9344060d94b91336b3a9c6fbb1010c31e7;p=icinga2 Move fping_address to command array because it must always be the first argument fixes #7168 --- diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index d33b05453..7970e8d0f 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -66,14 +66,12 @@ object CheckCommand "hostalive" { template CheckCommand "fping-common" { import "plugin-check-command" - command = [ PluginDir + "/check_fping" ] + command = [ + PluginDir + "/check_fping", + "$fping_address$" + ] arguments = { - "host" = { - value = "$fping_address$" - skip_key = true - order = 0 - } "-w" = "$fping_wrta$,$fping_wpl$%" "-c" = "$fping_crta$,$fping_cpl$%" "-n" = "$fping_number$"