diff options
Diffstat (limited to 'templates/service/snmp/v3/trap-target/node.def')
-rw-r--r-- | templates/service/snmp/v3/trap-target/node.def | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/service/snmp/v3/trap-target/node.def b/templates/service/snmp/v3/trap-target/node.def new file mode 100644 index 00000000..d6203e9b --- /dev/null +++ b/templates/service/snmp/v3/trap-target/node.def @@ -0,0 +1,12 @@ +tag: +type: txt +help: Defines SNMP target for inform or traps for IP +syntax:expression: exec "/opt/vyatta/sbin/valid_address $VAR(@)/20" +commit:expression: $VAR(type/) != ""; "must specify type" +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" + +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 |