[Nut-upsuser] upsmon keeps broadcasting on battery / on power
(driver is newhidups)
Arnaud Quette
aquette.dev at gmail.com
Tue Mar 13 16:13:16 CET 2007
2007/3/12, Marc Rechté <marc2 at rechte.fr>:
> Thanks Arnaud for your prompt answer.
>
> Please find attached the required log (interrupted after a few minutes run).
> ...
from the UPS (communication layer), you really have power failure / restored.
Search for UPS.PowerSummary.PresentStatus.ACPresent
the value 1 means "Online", and 0 for "On battery"
Does the problem occur frequently? The more details, the better.
from there, 3 possibilities (need more details to audit):
- if the problem occurred only once, then you've seen a battery test,
- else you have some electrical problems upstream,
- else the UPS has some internal problem.
A workaround would be to increase upsd.conf -> MAXAGE (ie to 20 - 25)
and upsmon.conf -> DEADTIME (to 20 - 25 too)
Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/
More information about the Nut-upsuser
mailing list