Module: check_mk
Branch: master
Commit: 15c873d40e611d67aaab7d015f65b47276c3c8d5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=15c873d40e611d…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Tue Dec 10 09:22:36 2013 +0100
veeam_client: FIX in case of several veeam_client sections per piggyback host
---
checks/veeam_client | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/veeam_client b/checks/veeam_client
index e7928bb..0eeef20 100644
--- a/checks/veeam_client
+++ b/checks/veeam_client
@@ -47,11 +47,11 @@ def check_veeam_client(item, params, info):
stoptime = ""
duration_string = ""
infotxt = ""
- perfdata = []
for line in info:
if line[0] == "Status":
result = line[1]
- infotxt += line[0] + ":" + line[1] + " "
+ perfdata = []
+ infotxt = line[0] + ":" + line[1] + " "
elif line[0] == "DurationDDHHMMSS" and result != "InProgress"
and result != "Pending":
duration_string = line[1]
spur = map(saveint, duration_string.split(":") )