Module: check_mk
Branch: master
Commit: b2cc6fef7b5a720874bc8b9d30965026258ee2e6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b2cc6fef7b5a72…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Thu Nov 10 11:49:50 2016 +0100
3750 FIX cmc_temp: Check now also works when using Nagios core
---
.werks/3750 | 10 ++++++++++
ChangeLog | 1 +
checks/cmc_temp | 1 +
3 files changed, 12 insertions(+)
diff --git a/.werks/3750 b/.werks/3750
new file mode 100644
index 0000000..664211e
--- /dev/null
+++ b/.werks/3750
@@ -0,0 +1,10 @@
+Title: cmc_temp: Check now also works when using Nagios core
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1478774954
+
+
diff --git a/ChangeLog b/ChangeLog
index a55c995..883e612 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
* 3952 FIX: diskstat: fixed bug if multipath devices having an alias...
* 3939 FIX: f5_bigip_conns: readded performance data and graphs...
* 3979 FIX: vbox_guest: Only try to fetch VBox state in case the vboxguest module is
loaded
+ * 3750 FIX: cmc_temp: Check now also works when using Nagios core
Multisite:
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
diff --git a/checks/cmc_temp b/checks/cmc_temp
index 39e7a15..3dd3165 100644
--- a/checks/cmc_temp
+++ b/checks/cmc_temp
@@ -47,6 +47,7 @@ check_info['cmc_temp'] = {
"check_function" : check_cmc_temp,
"has_perfdata" : True,
"group" : "temperature",
+ "includes" : [ "temperature.include" ],
"default_levels_variable": "cmc_temp_default_levels",
"service_description" : "Temperature Sensor %s",
"snmp_scan_function" : lambda oid: ".1.3.6.1.4.1.2606.1" in
oid(".1.3.6.1.2.1.1.2.0"),