Module: check_mk
Branch: master
Commit: 6cd432c479b34450a05f5d132a5cb187045a5601
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6cd432c479b344…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Mon Dec 22 15:45:33 2014 +0100
#1461 msexch_dag.copyqueue: added a WATO rule for this check
---
.werks/1461 | 9 +++++++++
ChangeLog | 1 +
checks/msexch_dag | 1 +
web/plugins/wato/check_parameters.py | 21 +++++++++++++++++++++
4 files changed, 32 insertions(+)
diff --git a/.werks/1461 b/.werks/1461
new file mode 100644
index 0000000..5536970
--- /dev/null
+++ b/.werks/1461
@@ -0,0 +1,9 @@
+Title: msexch_dag.copyqueue: added a WATO rule for this check
+Level: 1
+Component: wato
+Compatible: compat
+Version: 1.2.7i1
+Date: 1419259490
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 1e14875..f990db4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -57,6 +57,7 @@
WATO:
* 1760 Added search form to manual checks page
* 1785 Upload SNMP MIBs via WATO...
+ * 1461 msexch_dag.copyqueue: added a WATO rule for this check
* 1761 FIX: Ruleset search is now consistent for host & serviceparameters and
manual checks
* 1765 FIX: Fixed bug when generating nagvis backends while having sites with
livestatus proxy configured...
* 1789 FIX: Fix preview of passive checks in WATO list of services
diff --git a/checks/msexch_dag b/checks/msexch_dag
index 522b34d..e70b2cf 100644
--- a/checks/msexch_dag
+++ b/checks/msexch_dag
@@ -245,4 +245,5 @@ check_info['msexch_dag.copyqueue'] = {
"check_function" : check_msexch_dag_copyqueue,
"service_description" : "Exchange DAG CopyQueue of %s",
"has_perfdata" : True,
+ "group" : "msexch_copyqueue",
}
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 4835919..a294929 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1985,6 +1985,27 @@ register_check_parameters(
"first"
)
+register_check_parameters(
+ subgroup_applications,
+ "msexch_copyqueue",
+ _("MS Exchange DAG CopyQueue"),
+ Tuple(
+ title = _("Upper Levels for CopyQueue Length"),
+ help = _("This rule sets upper levels to the number of transaction
logs waiting to be copied "
+ "and inspected on your Exchange Mailbox Servers in a Database
Availability Group "
+ "(DAG). This is also known as the CopyQueue length."),
+ elements = [
+ Integer(title = _("Warning at")),
+ Integer(title = _("Critical at"))
+ ],
+ ),
+ TextAscii(
+ title = _("Database Name"),
+ help = _("The database name on the Mailbox Server."),
+ ),
+ "first"
+)
+
def get_free_used_dynamic_valuespec(what, name, default_value = (80.0, 90.0)):
if what == "used":
title = _("used space")