Module: check_mk
Branch: master
Commit: 01cf6cec40b6e7cae217cd22096145b7e4c602b4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01cf6cec40b6e7…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Thu Sep 12 15:11:02 2013 +0200
service description for inventory processes must not be empty since
serveral rules are configurable which need to have different service
descriptions.
---
web/plugins/wato/check_parameters.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 58fe698..1596630 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -292,6 +292,7 @@ register_rule(group + '/' + subgroup_inventory,
elements = [
('descr', TextAscii(
title = _('Service Description'),
+ allow_empty = False,
help = _('<p>The service description may contain one or more
occurances of <tt>%s</tt>. If you do this, then the pattern must be a regular
'
'expression and be prefixed with ~. For each
<tt>%s</tt> in the description, the expression has to contain one
"group". A group '
'is a subexpression enclosed in brackets, for example
<tt>(.*)</tt> or <tt>([a-zA-Z]+)</tt> or
<tt>(...)</tt>. When the inventory finds a process '