blob: 6c2717a8da82e6c666bb9c0366ba20f3bd82613c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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"
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
|