bundles/routeros: monitor board and switch temperature

This commit is contained in:
Franzi 2025-07-23 20:10:13 +02:00
parent f6d1774b86
commit 09d18a9567
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -84,13 +84,21 @@ defaults = {
'icinga2_api': { 'icinga2_api': {
'routeros': { 'routeros': {
'services': { 'services': {
'TEMPERATURE': { 'BOARD TEMPERATURE': {
'check_command': 'snmp', 'check_command': 'snmp',
'vars.snmp_oid': '1.3.6.1.4.1.14988.1.1.3.11.0', 'vars.snmp_oid': '1.3.6.1.4.1.14988.1.1.3.100.1.3.7101',
'vars.snmp_version': '2c', 'vars.snmp_version': '2c',
'vars.snmp_community': 'public', 'vars.snmp_community': 'public',
'vars.warn': '@750:799', # 1/10 °C 'vars.warn': '@75:79', # °C
'vars.crit': '@800:9999', 'vars.crit': '@80:999',
},
'SWITCH TEMPERATURE': {
'check_command': 'snmp',
'vars.snmp_oid': '1.3.6.1.4.1.14988.1.1.3.100.1.3.51',
'vars.snmp_version': '2c',
'vars.snmp_community': 'public',
'vars.warn': '@75:79', # °C
'vars.crit': '@80:999',
}, },
}, },
}, },