Module: check_mk
Branch: master
Commit: be5f253448ef6fdad7db334798323a5a5f2b9b44
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=be5f253448ef6f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Nov 13 15:20:54 2014 +0100
#1437 FIX veeam_jobs: fixed incorrect state for BackupSync job
The check now reports an OK state when type is <tt>BackupSync</tt> and the
current state is <tt>Idle</tt>.
Previously it checked the backup status for <tt>Idle</tt>
---
.werks/1437 | 11 +++++++++++
ChangeLog | 1 +
checks/veeam_jobs | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/1437 b/.werks/1437
new file mode 100644
index 0000000..dbf1f74
--- /dev/null
+++ b/.werks/1437
@@ -0,0 +1,11 @@
+Title: veeam_jobs: fixed incorrect state for BackupSync job
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.5i7
+Date: 1415886692
+
+The check now reports an OK state when type is <tt>BackupSync</tt> and the
current state is <tt>Idle</tt>.
+Previously it checked the backup status for <tt>Idle</tt>
diff --git a/ChangeLog b/ChangeLog
index 9e22544..9de321b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@
* 1446 FIX: cisco_temp_perf: Check now finds missing sensors in case where also
cisco_temp_sensor is being used....
* 1203 FIX: veeam_client: Now supports multiple Backups for one host...
NOTE: Please refer to the migration notes!
+ * 1437 FIX: veeam_jobs: fixed incorrect state for BackupSync job...
Multisite:
* 1508 Allow input of plugin output and perfdata when faking check results...
diff --git a/checks/veeam_jobs b/checks/veeam_jobs
index 50ebc3b..9418253 100644
--- a/checks/veeam_jobs
+++ b/checks/veeam_jobs
@@ -48,7 +48,7 @@ def check_veeam_jobs(item, _no_params, info):
if backup_status == "Success":
state = 0
- elif backup_status == 'Idle' and backup_type ==
"BackupSync":
+ elif backup_current == 'Idle' and backup_type ==
"BackupSync":
# A sync job is always idle
state = 0
elif backup_current == "Working":