Module: check_mk
Branch: master
Commit: 969a11aedf7ac19dfb12cc3ec0cb07df9bea30b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=969a11aedf7ac1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Oct 2 12:04:53 2015 +0200
Minor code cleanup
---
checks/brocade_fcport | 4 ++--
checks/fc_port | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checks/brocade_fcport b/checks/brocade_fcport
index 84e4fba..bd03aa4 100644
--- a/checks/brocade_fcport
+++ b/checks/brocade_fcport
@@ -40,9 +40,9 @@ brocade_fcport_speed = [ 'unknown', '1Gbit',
'2Gbit', 'auto-Neg', '4Gbit', '
isl_speed = {
"1": 0, # other (1) - None of the following.
"2": 0.155, # oneEighth (2) - 155 Mbaud.
- "4": 0.266, #•quarter (4) - 266 Mbaud.
+ "4": 0.266, # quarter (4) - 266 Mbaud.
"8": 0.532, # half (8) - 532 Mbaud.
- "16": 1, #•full (16) - 1 Gbaud.
+ "16": 1, # full (16) - 1 Gbaud.
"32": 2, # double (32) - 2 Gbaud.
"64": 4, # quadruple (64) - 4 Gbaud.
"128": 8, # octuple (128) - 8 Gbaud.
diff --git a/checks/fc_port b/checks/fc_port
index b2b8650..e416f4b 100644
--- a/checks/fc_port
+++ b/checks/fc_port
@@ -55,8 +55,8 @@ fc_port_phystates = {
4: ('active', 0),
5: ('loopback', 1),
6: ('txfault', 1),
- 7: ('noMedia', 1),
- 8: ('linkDown',2),
+ 7: ('no media', 1),
+ 8: ('link down',2),
}
# taken from connUnitPortType