Module: check_mk
Branch: master
Commit: dc3198d04f2a5e2f3bd46a0d99631a2d4185c795
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dc3198d04f2a5e…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Sep 6 16:13:43 2018 +0200
Revert "6487 FIX mssql_backup: Fixed parsing of backup date, time and type"
This reverts commit e9c95a99dc72b2a6120f79863c8a5270acb3ffdd.
---
.werks/6487 | 10 ----------
checks/mssql_backup | 4 ++--
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/.werks/6487 b/.werks/6487
deleted file mode 100644
index b880d84..0000000
--- a/.werks/6487
+++ /dev/null
@@ -1,10 +0,0 @@
-Title: mssql_backup: Fixed parsing of backup date, time and type
-Level: 1
-Component: checks
-Compatible: compat
-Edition: cre
-Version: 1.6.0i1
-Date: 1536145690
-Class: fix
-
-
diff --git a/checks/mssql_backup b/checks/mssql_backup
index cb4c7e8..961dd66 100644
--- a/checks/mssql_backup
+++ b/checks/mssql_backup
@@ -94,8 +94,8 @@ def parse_mssql_backup(info):
timestamp = _parse_date_and_time(backup_date, backup_time)
elif len(line) == 4:
- inst, tablespace, backup_date_time, backup_type = line
- timestamp = _parse_date_and_time(*backup_date_time.split(" "))
+ inst, tablespace, backup_date, backup_time = line
+ timestamp = _parse_date_and_time(backup_date, backup_time)
elif len(line) == 3:
inst, tablespace, backup_timestamp = line