[Nut-upsuser] Bogus "UPS not available" messages

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Wed May 23 14:14:43 UTC 2007


On Wed, May 23, 2007 at 07:36:19AM -0400, Eric S. Raymond wrote:
> Belkin F6C1200-UNV on Ubuntu 7.04, megatec_usb driver,
> 
> Every few minutes I get a beep and a "UPS not available" message that
> seems to be bogus; upsc reports real data, not at complaint that it's
> stale.
> 

Please post the log.
grep "UPS not available" returns nothing, so I suppose that the original
message was about data getting stale, right? I've noticed from your
previous logs that your UPS sometimes doesn't return any data. This is
the thing. I had nearly the same problem with my own UPS (supported by
'krauler' subdriver). I've performed a bunch of tests on several machines,
which showed me that the best thing I can do is to send requests until I
get proper data (without interrupt). I tried to explain results here:
http://lists.alioth.debian.org/pipermail/nut-upsdev/2007-February/001724.html
in the section called "UPS No Ack" problem". My UPS returns this string
"UPS No Ack" pretty often (13%-80% times, on different requests) instead of
the real data. So, I just use a workaround.

If this is the problem you've written about, I suggest you to do the
same thing - test your UPS's behaviour - and then fix the problem in the
'agiler' subdriver, if the amount of messages is considerable.

--
  Alexander



More information about the Nut-upsuser mailing list