From ce977bb39ad136c122ce976831101dc88b3106af Mon Sep 17 00:00:00 2001 From: Marc Schoechlin <marc.schoechlin@vico-research.com> Date: Wed, 27 Dec 2017 13:42:41 +0100 Subject: [PATCH] Improved dmesg --- extension-files/tools/zabbix_check_dmesg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension-files/tools/zabbix_check_dmesg b/extension-files/tools/zabbix_check_dmesg index 8d5ba63..a8693aa 100755 --- a/extension-files/tools/zabbix_check_dmesg +++ b/extension-files/tools/zabbix_check_dmesg @@ -85,7 +85,7 @@ while True: for ident, regex in kernel_problems.items(): if regex.match(msg): status = "ERROR" - sys.stderr.write("%s : %s : %s\n" % (EXECUTABLE, ident, line_str)) + #sys.stderr.write("%s : %s : %s\n" % (EXECUTABLE, ident, line_str)) matched.append("%s/%s" % (ident, current_time_stamp)) status_data["timestamp"] = latest_time_stamp