Module: check_mk
Branch: master
Commit: 1bdc861db7b4ab849d7e47aeddee3a9ce2dbb2dc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1bdc861db7b4ab…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 3 12:27:46 2014 +0100
#1603 FIX ad_replication: fixed typo in plugin output
---
.werks/1603 | 9 +++++++++
ChangeLog | 1 +
checks/ad_replication | 4 ++--
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/1603 b/.werks/1603
new file mode 100644
index 0000000..27a367f
--- /dev/null
+++ b/.werks/1603
@@ -0,0 +1,9 @@
+Title: ad_replication: fixed typo in plugin output
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i7
+Date: 1417606053
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 2eaf4a8..78d6d59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,7 @@
* 1590 FIX: printer_supply_ricoh: Fixed broken check
* 1591 FIX: netapp_volumes: The state mixed_raid_type is now treated as non-critical
state
* 1602 FIX: dell_om_esmlog: Fixed typo in plugin output
+ * 1603 FIX: ad_replication: fixed typo in plugin output
Multisite:
* 1508 Allow input of plugin output and perfdata when faking check results...
diff --git a/checks/ad_replication b/checks/ad_replication
index 336580e..bc98b0c 100644
--- a/checks/ad_replication
+++ b/checks/ad_replication
@@ -82,7 +82,7 @@ def check_ad_replication(item, params, info):
if int(numFailures) > maxFailuresWarn:
status = 1
output += '(!) %s/%s replication of context %s reached ' \
- ' the threshold of maxmimum failures (%s) (Last Success:
%s, ' \
+ ' the threshold of maximum failures (%s) (Last Success: %s,
' \
'LastFailure: %s NumFailures: %s Status: %s), ' % \
(sourceSite, sourceDC, namingContext, maxFailuresWarn,
timeLastFailure,
timeLastSuccess, numFailures, statusLastFailure)
@@ -90,7 +90,7 @@ def check_ad_replication(item, params, info):
if int(numFailures) > maxFailuresCrit:
status = 2
output += '(!!) %s/%s replication of context %s reached ' \
- ' the threshold of maxmimum failures (%s) (Last Success:
%s, ' \
+ ' the threshold of maximum failures (%s) (Last Success: %s,
' \
'LastFailure: %s NumFailures: %s Status: %s), ' % \
(sourceSite, sourceDC, namingContext, maxFailuresCrit,
timeLastFailure,
timeLastSuccess, numFailures, statusLastFailure)