Module: check_mk
Branch: master
Commit: 6c5feea104d764a7cc3bf1e16b46dd89ecafda87
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6c5feea104d764…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jul 5 10:52:33 2016 +0200
3554 Inotify: Added configurable levels for movedto, movefrom and move self
---
.werks/3554 | 9 +++++++++
ChangeLog | 1 +
web/plugins/wato/check_parameters.py | 15 ++++++++++-----
3 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/.werks/3554 b/.werks/3554
new file mode 100644
index 0000000..78ef41b
--- /dev/null
+++ b/.werks/3554
@@ -0,0 +1,9 @@
+Title: Inotify: Added configurable levels for movedto, movefrom and move self
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1467708741
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index e5a7760..c56247d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -110,6 +110,7 @@
* 3689 brocade_fcport: now monitors BBcredit zero stats and the number of encoding
error or disparity error inside frames received
* 3690 apache_status: upper levels for busy workers are now configurable
* 3691 oracle_jobs: status of missing jobs is now configurable
+ * 3554 Inotify: Added configurable levels for movedto, movefrom and move self
* 3073 FIX: windows agent: relative paths to mrpe scripts are now treated as relative
to the agent installation directory...
* 3061 FIX: mk_jolokia: Fixed debugging of the agent plugin
* 3074 FIX: windows agent: fixed incorrect values for 32-bit performance counters
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index d4f15ea..d0d668a 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -2260,11 +2260,16 @@ register_check_parameters(
Tuple(
elements = [
DropdownChoice( title = _("INotify Operation"),
- choices = [ ("create", _("Create")),
- ("delete", _("Delete")),
- ("access", _("Access")),
- ("modify", _("Modify")),
- ("open", _("Open")) ]
+ choices = [
+ ("create",
_("Create")),
+ ("delete",
_("Delete")),
+ ("open",
_("Open")),
+ ("modify",
_("Modify")),
+ ("access",
_("Access")),
+ ("movedfrom", _("Moved
from")),
+ ("movedto", _("Moved
to")),
+ ("moveself", _("Move
self")),
+ ]
),
Age(title=_("Warning at")),
Age(title=_("Critical at")),