Module: check_mk
Branch: master
Commit: 1be2dcd180c084077eac2cfbcc993d2df64a2a2d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1be2dcd180c084…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 14 16:25:35 2011 +0100
Removed debug output from lnx_if
---
checks/lnx_if | 2 --
modules/check_mk_base.py | 1 +
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/checks/lnx_if b/checks/lnx_if
index 642a376..b75b062 100644
--- a/checks/lnx_if
+++ b/checks/lnx_if
@@ -69,7 +69,6 @@ def if_lnx_convert_to_if64(info):
if_table = []
for nic, attr in nic_info.items():
- import pprint ; pprint.pprint(attr)
counters = attr.get("counters", [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])
ifIndex = attr["index"]
@@ -138,7 +137,6 @@ def if_lnx_convert_to_if64(info):
return if_table
def inventory_lnx_if(info):
- import pprint ; pprint.pprint(info)
if linux_nic_check == "legacy":
return []
return inventory_if_common(if_lnx_convert_to_if64(info))
diff --git a/modules/check_mk_base.py b/modules/check_mk_base.py
index 01d6cca..3d1feac 100755
--- a/modules/check_mk_base.py
+++ b/modules/check_mk_base.py
@@ -729,6 +729,7 @@ def check_unimplemented(checkname, params, info):
# Loops over all checks for a host, gets the data, calls the check
# function that examines that data and sends the result to Nagios
def do_all_checks_on_host(hostname, ipaddress):
+ import time ; time.sleep(5)
global g_aggregated_service_results
g_aggregated_service_results = {}
global g_hostname