Module: check_mk
Branch: master
Commit: 3dcb0d7dd1d7d6068d0f2c4a895bfd153d05b331
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3dcb0d7dd1d7d6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 22 09:28:08 2013 +0100
FIX: mssql_counters.file_sizes - Fixed wrong value for "Log Files" in output
---
ChangeLog | 3 +++
checks/mssql_counters | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ed34827..ce3decf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
* cmk --notify: added the macros NOTIFY_LASTHOSTSTATECHANGE, NOTIFY_HOSTSTATEID,
NOTIFY_LASTSERVICESTATECHANGE and NOTIFY_SERVICESTATEID
+ Checks & Agents:
+ * FIX: mssql_counters.file_sizes - Fixed wrong value for "Log Files" in
output
+
WATO:
* Added hr_mem check to the memory checkgroup to make it configurable in WATO
* FIX: Fixed some typos in ldap error messages
diff --git a/checks/mssql_counters b/checks/mssql_counters
index f243a2b..d49779c 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(data_file_bytes),
get_bytes_human_readable(log_file_used_bytes)))
+ (get_bytes_human_readable(log_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))