Module: check_mk
Branch: master
Commit: acbd16290dd9889cd0fc6fb8619a406acd718101
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=acbd16290dd988…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 20 17:32:47 2012 +0100
0FIX: mssql_counters: remove debug output, fix bytes output
---
ChangeLog | 1 +
checks/mssql_counters | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7817c56..04c391b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -231,6 +231,7 @@
Checks & Agents:
* FIX: postgres_sessions: handle case of no active/no idle sessions
* FIX: winperf_processor: handle parameters "None" (as WATO creates)
+ * FIX: mssql_counters: remove debug output, fix bytes output
Multisite:
* FIX: performeter_temparature now returns unicode string, because of °C
diff --git a/checks/mssql_counters b/checks/mssql_counters
index d49779c..f243a2b 100644
--- a/checks/mssql_counters
+++ b/checks/mssql_counters
@@ -219,7 +219,7 @@ def check_mssql_file_sizes(item, params, info):
perfdata.append(('data_files', data_file_bytes))
output.append('Log Files: %s (Used: %s)' %
- (get_bytes_human_readable(log_file_bytes),
get_bytes_human_readable(log_file_used_bytes)))
+ (get_bytes_human_readable(data_file_bytes),
get_bytes_human_readable(log_file_used_bytes)))
perfdata.append(('log_files', log_file_bytes))
perfdata.append(('log_files_used', log_file_used_bytes))