_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2016
GW6600 Series and GW6600V Series User Manual
Issue: 1.5
Page 362 of 384
UCI: va_eventd.<target
label>.conn_tester
Opt: conn_tester
Name of the connection tester to use for this target.
Table 137: Information table for snmp target settings
35.7.8.3
Exec target
When an exec target receives an event, it executes a shell command.
35.7.8.4
Exec target using UCI
va_eventd.@target[0]=target
va_eventd.@target[0].name=logit
va_eventd.@target[0].enabled=1
va_eventd.@target[0].type=exec
va_eventd.@target[0].cmd_template=logger -t eventer %{eventName}
35.7.8.5
Exec target using package options
config target
option name ‘logit’
option enabled ‘1’
option type ‘exec’
option cmd_template "logger -t eventer %{eventName}"
35.7.8.6
Exec 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 exec for an exec target.
syslog
Syslog target
Email target
snmptrap
SNMP target
exec
Exec target
UCI: va_eventd.<target
label>.cmd_target
Opt: cmd_target
Template of the command to execute.
Table 138: Information table for exec target settings
35.8
Event system diagnostics
35.8.1
Displaying VA events
To view a list of all available class names, events and severity levels, enter:
vae_cli -d