Module: check_mk
Branch: master
Commit: 1732cd285532450325cc615b733d699514aa2cfc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1732cd28553245…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Aug 4 15:19:26 2014 +0200
#0195 FIX fc_port: Check temporary disabled cause of problems with automatic detection
There are currently a problem with the scan function who lead to a positive result on not
supported devices.
The Check will be renabled asap the problems are fixed.
---
.werks/195 | 11 +++++++++++
ChangeLog | 2 ++
checks/brocade_fcport | 8 +++-----
checks/fc_port | 7 ++++---
4 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/.werks/195 b/.werks/195
new file mode 100644
index 0000000..51106ed
--- /dev/null
+++ b/.werks/195
@@ -0,0 +1,11 @@
+Title: fc_port: Check temporary disabled cause of problems with automatic detection
+Level: 1
+Component: checks
+Compatible: incomp
+Version: 1.2.5i6
+Date: 1407158053
+Class: fix
+
+There are currently a problem with the scan function who lead to a positive result on not
supported devices.
+The Check will be renabled asap the problems are fixed.
+
diff --git a/ChangeLog b/ChangeLog
index d7e5d5a..038136c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,8 @@
* 0194 FIX: raritan_pdu_inlet: Check now outputs the correct values...
NOTE: Please refer to the migration notes!
* 1071 FIX: oracle_rman_backups: Only inventorize ARCHIVELOG / DB FULL / DB INCR
entries...
+ * 0195 FIX: fc_port: Check temporary disabled cause of problems with automatic
detection...
+ NOTE: Please refer to the migration notes!
Multisite:
* 1066 Implemented Dashboard Designer...
diff --git a/checks/brocade_fcport b/checks/brocade_fcport
index b8e9d04..79fc0dd 100644
--- a/checks/brocade_fcport
+++ b/checks/brocade_fcport
@@ -321,9 +321,7 @@ check_info["brocade_fcport"] = {
5, # swNbBaudRate
]),
],
- 'snmp_scan_function': \
- lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1") or \
-
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.24.1.1588.2.1.1"),
- 'group': 'brocade_fcport',
- 'default_levels_variable': 'brocade_fcport_default_levels',
+ 'snmp_scan_function' : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1"),
+ 'group' : 'brocade_fcport',
+ 'default_levels_variable' : 'brocade_fcport_default_levels',
}
diff --git a/checks/fc_port b/checks/fc_port
index 634b250..213ce25 100644
--- a/checks/fc_port
+++ b/checks/fc_port
@@ -317,9 +317,10 @@ check_info["fc_port"] = {
'has_perfdata' : True,
'group' : 'fc_port',
'default_levels_variable': 'fc_port_default_levels',
- 'snmp_scan_function' : lambda oid:
-
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1") \
- and not oid(".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.1"),
+ #'snmp_scan_function' : lambda oid:
+ #
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1") \
+ # and not oid(".1.3.6.1.4.1.1588.2.1.1.1.6.2.1.1"),
+ 'snmp_scan_function' : lambda oid: False,
'snmp_info' : ( ".1.3.6.1.3.94", [
"1.10.1.2", # connUnitPortIndex
# 0
"1.10.1.3", # connUnitPortType
# 1