mirror of https://github.com/Icinga/icinga2.git
Move fping_address to command array because it must always be the first argument
fixes #7168
This commit is contained in:
parent
6bb35a0d52
commit
58a84c9344
|
@ -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$"
|
||||
|
|
Loading…
Reference in New Issue