Move fping_address to command array because it must always be the first argument

fixes #7168
This commit is contained in:
Tobias von der Krone 2014-09-11 08:55:59 +02:00 committed by Gunnar Beutner
parent 6bb35a0d52
commit 58a84c9344
1 changed files with 4 additions and 6 deletions

View File

@ -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$"