more ssh options for checks

This commit is contained in:
Vladimir Vitkov 2019-10-30 00:32:57 +02:00
parent fd3e0caedf
commit 542d4143dc
1 changed files with 6 additions and 0 deletions

View File

@ -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"
]
} }
####################################################################################### #######################################################################################