more ssh options for checks
This commit is contained in:
parent
fd3e0caedf
commit
542d4143dc
|
@ -36,6 +36,12 @@ object CheckCommand "check_bandwidth" {
|
||||||
vars.by_ssh_command = PluginDir + "/check_bandwidth.sh -i $interface$"
|
vars.by_ssh_command = PluginDir + "/check_bandwidth.sh -i $interface$"
|
||||||
vars.by_ssh_timeout = "420"
|
vars.by_ssh_timeout = "420"
|
||||||
timeout = "420"
|
timeout = "420"
|
||||||
|
vars.by_ssh_options = [
|
||||||
|
"StrictHostKeyChecking=no",
|
||||||
|
"ControlMaster=auto",
|
||||||
|
"ControlPath=/var/run/icinga2/$host.name$",
|
||||||
|
"ControlPersist=20m"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
|
|
Loading…
Reference in New Issue