Module: check_mk
Branch: master
Commit: c0c085306287f1bbb8d17365fe37ee096a34c4ff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0c085306287f1…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Tue Jan 16 16:31:53 2018 +0100
hp_fan: Make scan function more restrictive
Change-Id: I8aa241d5c3f120376e9e8a73b4b1458bc25f6b9c
---
checks/hp_fan | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/hp_fan b/checks/hp_fan
index 2d62072..7c51f2c 100644
--- a/checks/hp_fan
+++ b/checks/hp_fan
@@ -57,5 +57,5 @@ check_info['hp_fan'] = {
"2", # hpicfFanTray
"4", # hpicfFanState
]),
- 'snmp_scan_function' : lambda oid: "hp" in
oid(".1.3.6.1.2.1.1.1.0").lower() and "switch" in
oid(".1.3.6.1.2.1.1.1.0").lower(),
+ 'snmp_scan_function' : lambda oid: "hp" in
oid(".1.3.6.1.2.1.1.1.0").lower() and "5406rzl2" in
oid(".1.3.6.1.2.1.1.1.0").lower(),
}