35: Event system
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW1000 Series User Manual
Issue: 1.9
Page 327 of 350
UCI: va_eventd.<target
label>.body_template
Opt: body_template
Template to use for the email body.
UCI: va_eventd.<target
label>.conn_tester
Opt: conn_tester
Name of the connection tester to use for this target.
Table 118: Information table for email target settings
35.7.8
SNMP target
When a SNMP target receives an event, it sends it in a trap to the configured SNMP
manager.
35.7.8.1
SNMP target using UCI
va_eventd.@target[0]=target
va_eventd.@target[0].name=snmp1
va_eventd.@target[0].enabled=1
va_eventd.@target[0].type=snmptrap
va_eventd.@target[0].target_addr=192.168.0.1
va_eventd.@target[0].agent_addr=192.168.0.4
va_eventd.@target[0].conn_tester=pinger
SNMP target using package options
config target
option name ‘snmp1’
option enabled ‘1’
option type ‘snmptrap’
option community ‘public’
option target_addr ‘192.168.0.1’
option agent_addr ‘192.168.0.4’
option conn_tester ‘pinger’
35.7.8.2
SNMP target table options
UCI/Package Option
Description
UCI: va_eventd.<target label>.name
Opt: name
Name of the target to be used in the forwarding section.
UCI: va_eventd.<target
label>.enabled
Opt: enabled
Enable this target.
0
Disabled.
1
Enabled.
UCI: va_eventd.<target label>.type
Opt: type
Must be snmptrap for a snmp target.
syslog
Syslog target
Email target
snmptrap
SNMP target
exec
Exec target