diff --git a/monitoring/icinga2/conf.d/commands-new.conf b/monitoring/icinga2/conf.d/commands-new.conf index 847f2dc..d5c5f23 100644 --- a/monitoring/icinga2/conf.d/commands-new.conf +++ b/monitoring/icinga2/conf.d/commands-new.conf @@ -36,6 +36,12 @@ object CheckCommand "check_bandwidth" { vars.by_ssh_command = PluginDir + "/check_bandwidth.sh -i $interface$" vars.by_ssh_timeout = "420" timeout = "420" + vars.by_ssh_options = [ + "StrictHostKeyChecking=no", + "ControlMaster=auto", + "ControlPath=/var/run/icinga2/$host.name$", + "ControlPersist=20m" + ] } #######################################################################################