Module: check_mk
Branch: master
Commit: f4af627e4db16a5a89d1d4b6691817ea5c65249b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f4af627e4db16a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Sep 30 10:03:50 2014 +0200
oracle_dataguard_stats: Removed print statement
---
checks/oracle_dataguard_stats | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/checks/oracle_dataguard_stats b/checks/oracle_dataguard_stats
index e040330..61cd167 100644
--- a/checks/oracle_dataguard_stats
+++ b/checks/oracle_dataguard_stats
@@ -93,16 +93,13 @@ def check_oracle_dataguard_stats(item, params, info):
if crit == warn and crit == -1:
- state = max(0, state)
+ pass
elif seconds >= crit:
- print "%s %d %d %d" % (parameter, warn, crit, seconds)
infotext += '(!!) '
state = 2
elif seconds >= warn:
infotext += '(!) '
state = max(1, state)
- else:
- state = max(0, state)
perfdata.append([parameter.replace(' ', '_'),
seconds, warn, crit])