From 5ac56675b08ee87541c26545702fa7c0aa05b285 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov <5081863+zeridon@users.noreply.github.com> Date: Tue, 29 Oct 2019 05:46:50 +0200 Subject: [PATCH] vin - to tabs --- .../icinga2/conf.d/hosts/router-vin.conf | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) 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" ] + } }