35: Event system 
_______________________________________________________________________________________________________ 
_____________________________________________________________________________________________________ 
© Virtual Access 2017 
GW1000 Series User Manual 
Issue: 1.9    Page 319 of 350 
35.7.1.2 Main using package options 
root@VA_router:~# uci export va_eventd 
package va_eventd 
 
config va_eventd main 
 option enabled ‘1’ 
       option event_queue_file '/tmp/event_buffer' 
       option event_queue_size ‘128K’ 
35.7.1.3 Main table options 
UCI: va_eventd.main.enabled 
Opt: enabled 
Enables or disables the event system. 
UCI: va_eventd.main.event_queue_file 
Opt: event_queue_file 
File where the events will be stored before being processed. 
Default file is /tmp/event_buffer. 
UCI: va_eventd.main.event_queue_size 
Opt: event_queue_size 
Maximum size of the event queue in bytes. Default value is 
128k. 
Table 113: Information table for event settings main section 
35.7.2  Va_eventd: forwarding  
Forwardings are section rules that define what kind of events should be generated. 
Multiple forwardings can be defined and each forwarding section can be given a 
forwarding label for identification. For example, to define a forwarding label of Monitor 
using package options: 
config forwarding ‘Monitor’ 
 
To define a forwarding label of Monitor using UCI, enter: 
va_eventd.Monitor=forwarding 
 
In the examples below no forwarding label has been defined. 
35.7.3  Forwarding using UCI 
root@VA_router:~# uci show va_eventd 
va_eventd.@forwarding[0]=forwarding 
va_eventd.@forwarding[0].enabled=1 
va_eventd.@forwarding[0].className=ethernet