Module: check_mk
Branch: master
Commit: 11713f304e3ab842e397ac8b44b0d38b1b424c8f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=11713f304e3ab8…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Aug 21 14:38:38 2017 +0200
5114 FIX ps, ps.perf: Allow "/" in process name in manual checks
Change-Id: I0c8aa3a816aa6c4bc1cf3a9f46661589d0bd55ac
---
.werks/5114 | 11 +++++++++++
web/plugins/wato/check_parameters.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/5114 b/.werks/5114
new file mode 100644
index 0000000..555c1a3
--- /dev/null
+++ b/.werks/5114
@@ -0,0 +1,11 @@
+Title: ps, ps.perf: Allow "/" in process name in manual checks
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1503318885
+
+
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 5225215..e82ec6a 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -3671,7 +3671,7 @@ register_check_parameters(
title = _("Process Name"),
help = _("This name will be used in the description of the service"),
allow_empty = False,
- regex = "^[a-zA-Z_0-9 _.-]*$",
+ regex = "^[a-zA-Z_0-9 _.-/]*$",
regex_error = _("Please use only a-z, A-Z, 0-9, space, underscore, "
"dot and hyphon for your service description"),
),