diff options
Diffstat (limited to 'templates/service/snmp/v3/trap-target/node.def')
-rw-r--r-- | templates/service/snmp/v3/trap-target/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/service/snmp/v3/trap-target/node.def b/templates/service/snmp/v3/trap-target/node.def index d6203e9b..6c2717a8 100644 --- a/templates/service/snmp/v3/trap-target/node.def +++ b/templates/service/snmp/v3/trap-target/node.def @@ -7,6 +7,8 @@ commit:expression: $VAR(auth/) != ""; "must specify auth" commit:expression: $VAR(protocol/) != ""; "must specify protocol" commit:expression: $VAR(user/) != ""; "must specify user" commit:expression: $VAR(port/) != ""; "must specify port" +commit:expression: $VAR(type/@) == "inform" || ( $VAR(type/@) == "trap" && $VAR(engineid/) != "" ); \ + "must specify engineid if type is 'trap'" val_help: <x.x.x.x>; IP address of trap target val_help: <h:h:h:h:h:h:h:h>; IPv6 address of trap target
\ No newline at end of file |