[Bug 224791] [NEW] nut upsmon not observing it's config file
Arnaud Quette
aquette.dev at gmail.com
Wed Apr 30 17:30:38 BST 2008
2008/4/30 Al Grimstad <al at grimstad.mv.com>:
> Public bug reported:
>
> Binary package hint: nut
>
> This bug concerns the ill-fated nut 2.2.1-2.1ubuntu7 in ubuntu 8.04.
>
> The bug is that upsmon, which I've configured to write its warnings to
> tty sessions is frequently reporting spurious low-battery conditions. I
> immediately run upsc to check the battery and it's at 100%. Worst, I've
> tried to turn off low battery warnings in upsmon.conf without defeating
> the spurious warnings. The only relief has been to shut down nut
> entirely.
> ...
2 things:
- upsmon only reports things it catches. This means that it won't
report a low battery status by itself, but only if it has been
reported by the driver and so upsd. And the low battery is reported
through "ups.status=LB".
So I would be in favor of a driver bug. To catch this, you'll have to
reproduce it while running the driver in debug mode (using -DDD).
- upsmon, as upsd, will only honor configuration changes if it has
either been restarted or reloaded.
so either using "upsmon -c reload" or "invoke-rc.d nut restart"
-- Arnaud
--
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
--
nut upsmon not observing it's config file
https://bugs.launchpad.net/bugs/224791
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.
More information about the Ubuntu-server-bugs
mailing list