mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
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" {
|
template CheckCommand "fping-common" {
|
||||||
import "plugin-check-command"
|
import "plugin-check-command"
|
||||||
|
|
||||||
command = [ PluginDir + "/check_fping" ]
|
command = [
|
||||||
|
PluginDir + "/check_fping",
|
||||||
|
"$fping_address$"
|
||||||
|
]
|
||||||
|
|
||||||
arguments = {
|
arguments = {
|
||||||
"host" = {
|
|
||||||
value = "$fping_address$"
|
|
||||||
skip_key = true
|
|
||||||
order = 0
|
|
||||||
}
|
|
||||||
"-w" = "$fping_wrta$,$fping_wpl$%"
|
"-w" = "$fping_wrta$,$fping_wpl$%"
|
||||||
"-c" = "$fping_crta$,$fping_cpl$%"
|
"-c" = "$fping_crta$,$fping_cpl$%"
|
||||||
"-n" = "$fping_number$"
|
"-n" = "$fping_number$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user