_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 430 of 463
va_eventd.@target[4].cmd_template=logger -t eventer %{eventName}
va_eventd.@forwarding[4]=forwarding
va_eventd.@forwarding[4].enabled=yes
va_eventd.@forwarding[4].target=ExecTarget
va_eventd.@forwarding[4].className=ppp
va_eventd.@forwarding[4].severity=debug-error
#Sample File
va_eventd.@target[5]=target
va_eventd.@target[5].name=FileTarget
va_eventd.@target[5].type=file
va_eventd.@target[5].file_name=\tmp\eventfile
va_eventd.@target[5].max_size_kb=1028
va_eventd.@forwarding[5]=forwarding
va_eventd.@forwarding[5].enabled=yes
va_eventd.@forwarding[5].target=FileTarget
va_eventd.@forwarding[5].severity=debug-error
40.4.1.1
Event system using package options
root@VA_router:~# uci export va_eventd
package va_eventd
config va_eventd 'main'
option event_queue_file '/tmp/event_buffer'
option event_queue_size '128K'
# Sample SNMP
config conn_tester
option type 'ping'
option ping_dest_addr '192.168.100.1'
option ping_success_duration_sec '60'
option name 'SNMPTest'
option ping_source 'LAN1'
config target
option suppress_duplicate_forwardings 'no'
option type 'snmp'