diff --git a/monitoring/icinga2/conf.d/hosts/switches/coresw.conf b/monitoring/icinga2/conf.d/hosts/switches/coresw.conf index 090ffb0..329a297 100644 --- a/monitoring/icinga2/conf.d/hosts/switches/coresw.conf +++ b/monitoring/icinga2/conf.d/hosts/switches/coresw.conf @@ -8,4 +8,245 @@ object Host "coresw.openfest.org" { # vars.extra_port_check = "" # vars.specification = "vocsw" + # vin - primary link + vars.snmp_ifaces [ "TenGigabitEthernet1/0/2" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10202" + value = "1" + } + + # debug + vars.snmp_ifaces [ "GigabitEthernet1/0/1" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10101" + value = "1" + } + + # debug/trunk + vars.snmp_ifaces [ "GigabitEthernet1/0/2" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10102" + value = "1" + } + + # vin/backup + vars.snmp_ifaces [ "GigabitEthernet1/0/3" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10103" + value = "1" + } + + # aps + vars.snmp_ifaces [ "GigabitEthernet1/0/5" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10105" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/6" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10106" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/7" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10107" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/8" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10108" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/9" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10109" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/10" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10110" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/11" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10111" + value = "1" + } + + # dowstream switches + # reception-sw + vars.snmp_ifaces [ "GigabitEthernet1/0/17" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10117" + value = "1" + } + # team-sw + vars.snmp_ifaces [ "GigabitEthernet1/0/18" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10118" + value = "1" + } + # vocsw-A + vars.snmp_ifaces [ "GigabitEthernet1/0/19" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10119" + value = "1" + } + # vocsw-B + vars.snmp_ifaces [ "GigabitEthernet1/0/20" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10120" + value = "1" + } + # vocsw-C + vars.snmp_ifaces [ "GigabitEthernet1/0/21" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10121" + value = "1" + } + # vocsw-D + vars.snmp_ifaces [ "GigabitEthernet1/0/22" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10122" + value = "1" + } + + # presenters + vars.snmp_ifaces [ "GigabitEthernet1/0/24" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10124" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/25" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10125" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/26" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10126" + value = "1" + } + + # camboxes + vars.snmp_ifaces [ "GigabitEthernet1/0/27" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10127" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/28" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10128" + value = "1" + } + + # techpark + vars.snmp_ifaces [ "GigabitEthernet1/0/48" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10148" + value = "1" + } + + # f0sw + vars.snmp_ifaces [ "GigabitEthernet1/0/49" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10149" + value = "1" + } + # ipacct + vars.snmp_ifaces [ "GigabitEthernet1/0/50" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10150" + value = "1" + } + + # down + vars.snmp_ifaces [ "TenGigabitEthernet1/0/1" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10201" + value = "2" + } + + vars.snmp_ifaces [ "GigabitEthernet1/0/12" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10112" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/13" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10113" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/14" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10114" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/15" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10115" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet01//16" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10116" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/4" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10104" + value = "1" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/23" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10123" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/29" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10129" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/30" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10130" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/31" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10131" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/32" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10132" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/33" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10133" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/34" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10134" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/35" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10135" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/36" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10136" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/37" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10137" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/38" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10138" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/39" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10139" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/40" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10140" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/41" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10141" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/42" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10142" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/43" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10143" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/44" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10144" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/45" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10145" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/46" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10146" + value = "2" + } + vars.snmp_ifaces [ "GigabitEthernet1/0/47" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.10147" + value = "2" + } + vars.snmp_ifaces [ "FastEthernet0" ] = { + OID = "1.3.6.1.2.1.2.2.1.8.14502" + value = "2" + } }