13: Configuring ignition sense
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 114 of 463
Web field/UCI/Package Option
Description
Web field: Syslog Severity
UCI: vapowermond.main.log_severity
Opt: log_severity
Specifies the lowest severity to be logged by Power Monitor.
0
Emergency
1
Alert
2
Critical
3
Error
4
Warning
5
Notice
6
Informational
7
Debug
Table 33: Information table for power monitor advanced settings
13.3
Configuring vapowermond using the command line
13.3.1
UCI
root@VA_router:~# uci show vapowermond
vapowermond.main=vapowermond
vapowermond.main.enabled=1
vapowermond.main.timeout=30
vapowermond.main.voltage_sense_scripts_enable=0
vapowermond.main.voltage_on_script=/usr/bin/powermon_voltage_on.sh
vapowermond.main.voltage_off_script=/usr/bin/powermon_voltage_off.sh
vapowermond.main.voltage_msg=powermon
vapowermond.main.log_severity=5
13.3.2
Package options
root@VA_router:~# uci export vapowermond
package vapowermond
config vapowermond ‘main’
option enabled ‘1’
option timeout ‘30’
option voltage_sense_scripts_enable ‘0’
option voltage_on_script ‘/usr/bin/powermon_voltage_on.sh’
option voltage_off_script ‘/usr/bin/powermon_voltage_off.sh’
option voltage_msg ‘powermon’
option log_severity ‘5’