OK, I think I have a plausible hypothesis for my experience and a
configuration change that makes the annoying WALL messages go away.

First, although my battery is at 100% when I check is--and so the "low
battery" message seems wrong, there is something else going on. I have a
couple of things attached to the APC UPS and "ups.load" is very high. I
have the sense that when ups.load crossed over from the 60% area into
the 70% area a "low battery" condition was communicated to upsmon. If
this hypothesis is correct, this may be just a design characteristic,
not a driver bug.

Second, upsmon seems to have some defaults that I didn't understand. I had 
commented out my normal "LOWBATT" configuration (NOTIFYFLAG LOWBATT 
SYSLOG+WALL+EXEC) 
 to try to kill the WALL messages. That didn't work. What I ended up doing was 
setting LOWBATT to "NOTIFYFLAG LOWBATT SYSLOG". This seems to have worked. 
There are now lowbatt messages in syslog, but no WALL messages.

So, the upshot of all this is that I think I should withdraw the bug
report. Sorry for sharing my learning experience with you. -- al

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to