[Nut-upsuser] Do I need to configure times and percents?

Victor Porton porton at narod.ru
Mon Dec 1 14:19:00 UTC 2014

01.12.2014, 14:50, "Charles Lepple" <clepple at gmail.com>:
> On Dec 1, 2014, at 4:11 AM, Victor Porton <porton at narod.ru> wrote:
>>  battery.voltage: 13.70
>>  battery.voltage.high: 13.00
>>  battery.voltage.low: 10.40
> These are the voltage thresholds for the UPS, so theoretically the UPS will send the LB signal when the battery voltage goes lower than 10.40 Volts.
> Also, if battery.charge works, you can use "ignorelb" if you want to shut down at another level of charge:
> http://www.networkupstools.org/docs/man/ups.conf.html#_ups_fields
>>  ups.delay.shutdown: 30
>>  ups.delay.start: 180
> These timers are in seconds. You will want to verify this, but according to those values, the UPS will shut off its output 30 seconds after the shutdown signal (so you need to make sure that your OS shutdown takes less time than that).
> Does "upsrw -l advice" show anything?

$ upsrw -l advice
upsrw: invalid option -- 'l'
Network UPS Tools upsrw 2.7.2

usage: upsrw [-h]
       upsrw [-s <variable>] [-u <username>] [-p <password>] <ups>

Demo program to set variables within UPS hardware.

  -h            display this help text
  -s <variable>	specify variable to be changed
		use -s VAR=VALUE to avoid prompting for value
  -u <username> set username for command authentication
  -p <password> set password for command authentication

  <ups>         UPS identifier - <upsname>[@<hostname>[:<port>]]

Call without -s to show all possible read/write variables.

Victor Porton - http://portonvictor.org

More information about the Nut-upsuser mailing list