From 58a84c9344060d94b91336b3a9c6fbb1010c31e7 Mon Sep 17 00:00:00 2001 From: Tobias von der Krone Date: Thu, 11 Sep 2014 08:55:59 +0200 Subject: [PATCH] Move fping_address to command array because it must always be the first argument fixes #7168 --- itl/command-plugins.conf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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$" -- 2.40.0