summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/service/snmp/community/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/service/snmp/community/node.def b/templates/service/snmp/community/node.def
index cf95bc27..32eb4800 100644
--- a/templates/service/snmp/community/node.def
+++ b/templates/service/snmp/community/node.def
@@ -1,3 +1,5 @@
tag:
type: txt
help: Set community name [REQUIRED]
+syntax:expression: pattern $VAR(@) "^[^%]+$" ; \
+ "Community string may not contain %"