2019/monitoring/icinga2/conf.d/hosts/switches/receptionsw.conf

74 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2019-10-29 05:53:23 +02:00
object Host "receptionsw.openfest.org" {
import "generic-host"
address = "receptionsw"
vars.groups = [ "vocsw" ]
vars.parent = "coresw.openfest.org"
# check_command = "xxx_health"
# vars.extra_port_check = ""
# vars.specification = "vocsw"
# vars.net_interfaces = [ "eth0", "eth1" ]
vars.snmp_ifaces [ "gigabitEthernet 1/0/1" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.1"
value = "1" # UP - 1 , 2 - down
}
2019-11-02 17:16:33 +02:00
# printer - on usb
2019-10-29 05:53:23 +02:00
vars.snmp_ifaces [ "gigabitEthernet 1/0/2" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.2"
2019-11-02 17:16:33 +02:00
value = "2"
2019-10-29 05:53:23 +02:00
}
2019-11-02 17:16:33 +02:00
# pc ?
2019-10-29 05:53:23 +02:00
vars.snmp_ifaces [ "gigabitEthernet 1/0/3" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.3"
2019-11-02 17:16:33 +02:00
value = "1|2"
2019-10-29 05:53:23 +02:00
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/4" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.4"
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/5" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.5"
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/6" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.6"
value = "2"
}
2019-11-02 17:16:33 +02:00
# ip camera in reception
2019-10-29 05:53:23 +02:00
vars.snmp_ifaces [ "gigabitEthernet 1/0/7" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.7"
2019-11-02 17:16:33 +02:00
value = "1"
2019-10-29 05:53:23 +02:00
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/8" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.8"
value = "1"
}
2019-10-30 00:34:14 +02:00
vars.snmp_ifaces [ "gigabitEthernet 1/0/9" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.9"
2019-10-29 05:53:23 +02:00
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/10" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10"
value = "2"
}
2019-10-30 03:42:48 +02:00
vars.snmp_uptime = "true"
2019-10-29 05:53:23 +02:00
vars.notification["slack"] = {
groups = [ "icingaadmins" ]
}
}