Module: check_mk
Branch: master
Commit: 38c2d8b389b5b7fb86fd0fdf6e7213f46f561188
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=38c2d8b389b5b7…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Sep 15 10:20:25 2014 +0200
#1114 FIX bluecat_threads: no longer detected on wrong systems
The oid in the snmp_scan function was incorrect.
This caused the check to appear on wrong hosts, where there was no bluecat_threads info
available.
---
.werks/1114 | 10 ++++++++++
ChangeLog | 1 +
checks/bluecat_threads | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1114 b/.werks/1114
new file mode 100644
index 0000000..453c3ae
--- /dev/null
+++ b/.werks/1114
@@ -0,0 +1,10 @@
+Title: bluecat_threads: no longer detected on wrong systems
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i6
+Date: 1410769126
+Class: fix
+
+The oid in the snmp_scan function was incorrect.
+This caused the check to appear on wrong hosts, where there was no bluecat_threads info
available.
diff --git a/ChangeLog b/ChangeLog
index ced4d3a..d37bf38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -92,6 +92,7 @@
* 1104 FIX: winperf_if: Improved matching of data from wmic_if.bat / wmic_if.ps1
scripts...
* 1110 FIX: windows agent: fixed missing agent section problem if a cached script ran
into a timeout...
* 1113 FIX: oracle_rman: fixed exception when backup was currently running
+ * 1114 FIX: bluecat_threads: no longer detected on wrong systems...
Multisite:
* 1066 Implemented Dashboard Designer...
diff --git a/checks/bluecat_threads b/checks/bluecat_threads
index 6539445..7b67507 100644
--- a/checks/bluecat_threads
+++ b/checks/bluecat_threads
@@ -47,7 +47,7 @@ check_info["bluecat_threads"] = {
"service_description" : "Number of threads",
"group" : "threads",
"has_perfdata" : True,
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.13315.2.1"),
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.13315.100.200"),
"snmp_info" :
(".1.3.6.1.4.1.13315.100.200.1.1.2", [
1, #
activeThreadCount
])