_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW7304 Series User Manual
Issue: 1.9
Page 305 of 336
33.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’
33.7.1.3
Main table options
UCI/Package Option
Description
UCI: va_eventd.main.enabled
Opt: enabled
Enables or disables the event system.
0
Disabled.
1
Enabled.
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.
/tmp/event_buffer
Range
UCI: va_eventd.main.event_queue_size
Opt: event_queue_size
Maximum size of the event queue in bytes. Default value is
128k.
128K
128 kilobytes
Range
Table 103: Information table for event settings main section
33.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.
33.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