Module: check_mk
Branch: master
Commit: d62aa2a0bf9f394db80c7458c48d7319fede8422
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d62aa2a0bf9f39…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Tue Feb 19 14:36:18 2019 +0100
6760 gude_temp, gude_humidity: Added support for Gude Sensor Box 7213
Check_MK is able to monitor Gude Sensor Box 7213 beginning with
this werk release.
Change-Id: I0033816299285c314bb0aacf36accc5fae8c4676
---
.werks/6760 | 11 +++++++++++
checks/gude_humidity | 5 +++--
checks/gude_temp | 5 +++--
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/.werks/6760 b/.werks/6760
new file mode 100644
index 0000000..ad519e6
--- /dev/null
+++ b/.werks/6760
@@ -0,0 +1,11 @@
+Title: gude_temo, gude_humidity: Added support for Gude Sensor Box 7213
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.6.0i1
+Date: 1550582721
+Class: feature
+
+Check_MK is now able to monitor also the Gude Sensor Box 7213 beginning with
+this werk release.
diff --git a/checks/gude_humidity b/checks/gude_humidity
index 218ab27..8dfa103 100644
--- a/checks/gude_humidity
+++ b/checks/gude_humidity
@@ -50,12 +50,13 @@ check_info['gude_humidity'] = {
'check_function' : check_gude_humidity,
'service_description' : 'Humidity %s',
'has_perfdata' : True,
- 'snmp_info' : ('.1.3.6.1.4.1.28507', [ "19",
"38" ], [
+ 'snmp_info' : ('.1.3.6.1.4.1.28507', [ "19",
"38", "66" ], [
OID_END,
"1.6.1.1.3", #
GUDEADS-EPC****-MIB::epc****HygroSensor
]),
'snmp_scan_function' : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.19") or \
-
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.38"),
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.38") or \
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.66"),
'group' : 'humidity',
'includes' : [ 'humidity.include' ],
}
diff --git a/checks/gude_temp b/checks/gude_temp
index 67fd356..f90d7ab 100644
--- a/checks/gude_temp
+++ b/checks/gude_temp
@@ -52,12 +52,13 @@ check_info['gude_temp'] = {
'check_function' : check_gude_temp,
'service_description' : 'Temperature %s',
'has_perfdata' : True,
- 'snmp_info' : ('.1.3.6.1.4.1.28507', [ "19",
"38" ], [
+ 'snmp_info' : ('.1.3.6.1.4.1.28507', [ "19",
"38", "66" ], [
OID_END,
"1.6.1.1.2", #
GUDEADS-EPC****-MIB::epc****TempSensor
]),
'snmp_scan_function' : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.19") or \
-
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.38"),
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.38") or \
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.28507.66"),
'group' : 'temperature',
'default_levels_variable' : 'gude_temp_default_levels',
'includes' : [ 'temperature.include' ],