Hi,

I've been getting emails from upsmon saying:

 Subject: UPS pw5...@localhost notification: ONBATT

 UPS pw5...@localhost on battery

But then the machines on the UPS stay on for hours; we haven't got
that kind of runtime, more like 10-20 minutes.

After a few occurrences, it now happened at a time where I could log
in to see in real time what is happening and:

$ upsc PW5125 | grep status
ups.status: TRIM

So there is no risk of the UPS running out of battery power :) Not
sure if it is on battery or not, but even if it is on battery, the
battery is being recharged concurrently, so, well, no human
intervention needed.

Could the upsmon email in this case be tweaked to be clearer?
Something like

 Subject: UPS pw5...@localhost notification: TRIM

 UPS pw5...@localhost trimming input line power

My NOTIFYCMD is just

 #! /bin/sh
 echo "$*" | mailx -s "UPS ${UPSNAME} notification: ${NOTIFYTYPE}" EMAIL

In case the rest of upsc is useful:

ambient.temperature: 52
battery.charge: 95
battery.runtime: 1003
battery.voltage: 52.26
driver.name: bcmxcp
driver.parameter.baud_rate: 9600
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.2.2
driver.version.internal: 0.14
input.frequency: 50.00
input.voltage: 240
output.current:  3.2
output.frequency: 50.00
output.phases: 1
output.voltage: 209
output.voltage.nominal: 230
ups.firmware: Cont:01.01 Inve:01.01
ups.load:  45.6
ups.model: PW5125     1500VA
ups.power.nominal: 1500
ups.serial: UY044A0405
ups.status: TRIM

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to