Module: check_mk
Branch: master
Commit: 07abf2dc0b8d4df539f059904221e3ce64f31a63
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=07abf2dc0b8d4d…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Tue Feb 4 15:33:07 2014 +0100
FIX veeam_client: fix for case when no StopTime section in agent output
---
.werks/579 | 9 +++++++++
ChangeLog | 3 ++-
checks/veeam_client | 1 +
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/579 b/.werks/579
new file mode 100644
index 0000000..49501f2
--- /dev/null
+++ b/.werks/579
@@ -0,0 +1,9 @@
+Title: veeam_client: fix for case when no StopTime section in agent output
+Level: 1
+Component: checks
+Class: fix
+State: unknown
+Version: 1.2.5i1
+Date: 1391524330
+
+
diff --git a/ChangeLog b/ChangeLog
index dff5b97..740dedc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -153,8 +153,9 @@
* 0575 FIX: cmciii_lcp_airin, cmciii_lcp_airout, cmciii_lcp_waterin,
cmciii_lcp_waterout: improved handling of warning state...
* 0272 FIX: if checks: port type 56 (fibrechannel) is no longer inventorized per
default...
* 0577 FIX: fileinfo.groups: new date pattern is now available for inventory check as
well
- * 0578 FIX: zypper: check is always registered as soon as mk_zypper plugin detects
zypper tool...
* 0688 FIX: winperf_msx_queues: Support output of Exchange 2013...
+ * 0578 FIX: zypper: check is always registered as soon as mk_zypper plugin detects
zypper tool...
+ * 0579 FIX: veeam_client: fix for case when no StopTime section in agent output
Multisite:
* 0371 Added log class filter to hostsvcevents view
diff --git a/checks/veeam_client b/checks/veeam_client
index 0eeef20..b3d02dd 100644
--- a/checks/veeam_client
+++ b/checks/veeam_client
@@ -50,6 +50,7 @@ def check_veeam_client(item, params, info):
for line in info:
if line[0] == "Status":
result = line[1]
+ stopstate = 0
perfdata = []
infotxt = line[0] + ":" + line[1] + " "
elif line[0] == "DurationDDHHMMSS" and result != "InProgress"
and result != "Pending":