Module: check_mk
Branch: master
Commit: 7f6507770bf1f376be760f850281d187eb058ae4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7f6507770bf1f3…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Aug 3 13:54:20 2016 +0200
added missing group
---
checks/ispro_sensors_digital | 7 ++-----
checks/ispro_sensors_temp | 1 +
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/checks/ispro_sensors_digital b/checks/ispro_sensors_digital
index f7e6c72..afab12b 100644
--- a/checks/ispro_sensors_digital
+++ b/checks/ispro_sensors_digital
@@ -26,11 +26,8 @@
# .1.3.6.1.4.1.19011.1.3.2.1.3.1.3.1.2.1 "Water Sensor-R" -->
ISPRO-MIB::isDeviceMonitorDigitalInName
-# .1.3.6.1.4.1.19011.1.3.2.1.3.1.3.1.3.1 2 --> ISPRO-MIB::isDeviceMonitorDigitalIn
# .1.3.6.1.4.1.19011.1.3.2.1.3.1.3.1.4.1 1 -->
ISPRO-MIB::isDeviceMonitorDigitalInAlarm
# .1.3.6.1.4.1.19011.1.3.2.1.3.2.4.1.3.1 2 -->
ISPRO-MIB::isDeviceConfigDigitalInState
-# .1.3.6.1.4.1.19011.1.3.2.1.3.2.4.1.4.1 10 -->
ISPRO-MIB::isDeviceConfigDigitalInHysteresis
-# .1.3.6.1.4.1.19011.1.3.2.1.3.2.4.1.5.1 1 -->
ISPRO-MIB::isDeviceConfigDigitalInEventDO
def inventory_ispro_sensors_digital(info):
@@ -45,8 +42,8 @@ def check_ispro_sensors_digital(item, params, info):
"3" : "normal close",
},
"alarm" :{
- "1" : (2, "active"),
- "2" : (0, "inactive"),
+ "1" : (0, "active"),
+ "2" : (2, "inactive"),
}
}
diff --git a/checks/ispro_sensors_temp b/checks/ispro_sensors_temp
index d609529..b210dc4 100644
--- a/checks/ispro_sensors_temp
+++ b/checks/ispro_sensors_temp
@@ -66,5 +66,6 @@ check_info['ispro_sensors_temp'] = {
]),
'snmp_scan_function' : ispro_scan_function,
'has_perfdata' : True,
+ 'group' : 'temperature',
'includes' : [ 'ispro.include',
'temperature.include' ],
}