Module: check_mk
Branch: master
Commit: f0b5c2fd788081d0b7eab73e292c3f7c0f3e1ea0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f0b5c2fd788081…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Feb 15 16:54:38 2016 +0100
#3207 FIX msexch_dag.copyqueue: Fixed broken check in case of non OK state
---
.werks/3207 | 10 ++++++++++
ChangeLog | 1 +
checks/msexch_dag | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3207 b/.werks/3207
new file mode 100644
index 0000000..41d8149
--- /dev/null
+++ b/.werks/3207
@@ -0,0 +1,10 @@
+Title: msexch_dag.copyqueue: Fixed broken check in case of non OK state
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1455551666
+
+
diff --git a/ChangeLog b/ChangeLog
index c8c761d..fb3a4b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -73,6 +73,7 @@
* 3075 FIX: windows agent: fixed data encryption of realtime updates were
incompatible...
* 3205 FIX: raritan_pdu_inlet: Fixed exception in case phases report a non OK state
* 3206 FIX: esx_vsphere_hostsystem.mem_usage_cluster: Fixed broken check
+ * 3207 FIX: msexch_dag.copyqueue: Fixed broken check in case of non OK state
* 3209 FIX: esx_vsphere_datastores: Added missing uncommitted and overprovisioned
graphs
* 3210 FIX: oracle_asm_diskgroup: Fixed exception when using required mirror free
space parameter
* 3211 FIX: logwatch: Fixed broken error messages in case of failed filesystem
operations
diff --git a/checks/msexch_dag b/checks/msexch_dag
index 0af6143..1110b46 100644
--- a/checks/msexch_dag
+++ b/checks/msexch_dag
@@ -236,7 +236,7 @@ def check_msexch_dag_copyqueue(item, params, info):
else:
state = 0
if state > 0:
- infotext += " (warn/crit at %d/%d)" % (warn, crit)
+ infotxt += " (warn/crit at %d/%d)" % (warn, crit)
perfdata = [ ("length", int(val), warn, crit, 0) ]
return state, infotxt, perfdata