diff options
Diffstat (limited to 'templates/service/snmp')
-rw-r--r-- | templates/service/snmp/trap-target/node.tag/port/node.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/service/snmp/trap-target/node.tag/port/node.def b/templates/service/snmp/trap-target/node.tag/port/node.def index f3157d77..d5ee579a 100644 --- a/templates/service/snmp/trap-target/node.tag/port/node.def +++ b/templates/service/snmp/trap-target/node.tag/port/node.def @@ -1,2 +1,6 @@ type: u32 help: Destination port used for trap notification + +val_help: u32:1-65535; Numeric IP port +syntax:expression: $VAR(@) > 0 && $VAR(@) <= 65535 ; \ + "Port number must be in range 1 to 65535" |