Module: check_mk
Branch: master
Commit: 8fe0108d076472cce654a86ef637d90f3ac411cb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8fe0108d076472…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Sun Dec 1 22:16:35 2013 +0100
veeam_jobs: when backup is stopped in warning state check is in WARN
state as well
---
checks/veeam_jobs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/checks/veeam_jobs b/checks/veeam_jobs
index a64fcd9..4ed1698 100644
--- a/checks/veeam_jobs
+++ b/checks/veeam_jobs
@@ -39,6 +39,8 @@ def check_veeam_jobs(item, params, info):
line.pop(6)
elif line[3] == "Failed":
state = 2
+ elif line[2] == "Stopped" and line[3] == "Warning":
+ state = 1
else:
state = 3
infotxt = "Result: %s, " % line[3]