Module: check_mk
Branch: master
Commit: 5018570219306ad5d9c21ac9b99ccd01aead1705
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5018570219306a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 1 15:12:20 2011 +0100
FIX: blade_health, fc_brocade_port_detailed removed debug outputs
---
ChangeLog | 1 +
checks/blade_health | 1 -
checks/fc_brocade_port_detailed | 2 --
3 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 06a904e..68705fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -33,6 +33,7 @@
* hp_proliant_*: improve scan function (now just looks for "proliant")
* FIX: cisco_temp_perf: fix return state in case of WARNING (was 0 = OK)
* FIX: repair PNP template for df when using trends
+ * FIX: blade_health, fc_brocade_port_detailed removed debug outputs
Multisite:
* FIX: fix json/python Webservice
diff --git a/checks/blade_health b/checks/blade_health
index 0dfff86..a7421a6 100644
--- a/checks/blade_health
+++ b/checks/blade_health
@@ -31,7 +31,6 @@ def inventory_blade_health(checkname, info):
def check_blade_health(_no_item, _no_params, info):
state = info[0][0]
descr = ''
- print info
if len(info) > 1:
descr = ': %s' % info[1][1]
diff --git a/checks/fc_brocade_port_detailed b/checks/fc_brocade_port_detailed
index 5d205f8..b03b30f 100644
--- a/checks/fc_brocade_port_detailed
+++ b/checks/fc_brocade_port_detailed
@@ -37,7 +37,6 @@ fc_brocade_port_detailed_default_levels = ( (1, 0.1), (1, 0.1), (1,
0.1), (2, 16
def inventory_brocade_port(checkname, info):
porttable, isltable = info
inventory = []
- print
for index, phystate, opstate, txwords, rxwords, txframes, rxframes, crcerrors,
encout, c3discards in porttable:
state = (int(phystate), int(opstate))
if state == (4,2):
@@ -117,7 +116,6 @@ def check_brocade_port(portno, params, info):
if (phy,op) == (phystate, opstate):
nagioscode = ncode
break
- print phystate, len(brocade_phystate_names)
return (nagioscode, "%s - physical state %s(%d), opstate %s(%d)" % (
nagios_state_names[nagioscode],
(len(brocade_phystate_names) > phystate and
brocade_phystate_names[phystate] or 'UNHANDLED'),