diff --git a/monitoring/icinga2/conf.d/hosts/router-vin.conf b/monitoring/icinga2/conf.d/hosts/router-vin.conf index f0cac9f..147c32d 100644 --- a/monitoring/icinga2/conf.d/hosts/router-vin.conf +++ b/monitoring/icinga2/conf.d/hosts/router-vin.conf @@ -1,18 +1,20 @@ object Host "vin-external.openfest.org" { - import "generic-host" + import "generic-host" - address = "185.117.82.237" - # check_command = "xxx_health" - # vars.extra_port_check = "" - vars.by_ssh_port = "22" - # vars.specification = "router" + address = "185.117.82.237" + # check_command = "xxx_health" + # vars.extra_port_check = "" + vars.by_ssh_port = "22" + vars.by_ssh_logname = "nagios" + vars.by_ssh_identity = "/var/lib/nagios/.ssh/id_rsa" + # vars.specification = "router" - vars.net_interfaces = [ "bond0", "bond0.20", "bond0.21", "bond0.22", "bond0.23", "bond0.24", "bond0.25", "bond0.26", "bond0.4001", "eno1", "enp1s0f4", "enp1s0f4d1" ] + vars.net_interfaces = [ "bond0", "bond0.20", "bond0.21", "bond0.22", "bond0.23", "bond0.24", "bond0.25", "bond0.26", "bond0.4001", "eno1", "enp1s0f4", "enp1s0f4d1" ] - vars.open_ports = "80 179 2004 53 22 7002 8443 443" + vars.open_ports = "80 179 2004 53 22 7002 8443 443" - vars.notification["slack"] = { - groups = [ "icingaadmins"] - } + vars.notification["slack"] = { + groups = [ "icingaadmins" ] + } }