[Nut-upsdev] upsd flapping in the breeze

Arnaud Quette aquette.dev at gmail.com
Wed May 6 14:01:32 UTC 2009


Hi Daniel,

2009/5/5 Daniel O'Connor <doconnor at gsoft.com.au>

> Hi,
> I have had a long standing problem with NUT talking to 110V MGE UPSs on
> FreeBSD, I was recently investigating again and noticed that upsd seems
> overly noisy, eg..
>
> May  5 03:50:36 egbert upsd[96662]: UPS [ups1] data is no longer stale
> May  5 03:50:36 egbert upsd[96662]: Data for UPS [ups1] is stale - check
> driver
> May  5 03:50:36 egbert upsd[96662]: UPS [ups1] data is no longer stale
> May  5 03:50:36 egbert upsd[96662]: Data for UPS [ups1] is stale - check
> driver
> May  5 03:50:39 egbert upsd[96662]: UPS [ups1] data is no longer stale
> May  5 03:50:46 egbert upsd[96662]: Data for UPS [ups1] is stale - check
> driver
> May  5 03:50:46 egbert upsd[96662]: UPS [ups1] data is no longer stale
> May  5 03:50:47 egbert upsd[96662]: Data for UPS [ups1] is stale - check
> driver
> May  5 03:50:47 egbert upsd[96662]: UPS [ups1] data is no longer stale
> May  5 03:50:47 egbert upsd[96662]: Data for UPS [ups1] is stale - check
> driver
> May  5 03:50:47 egbert upsd[96662]: UPS [ups1] data is no longer stale
> May  5 03:50:47 egbert upsd[96662]: Data for UPS [ups1] is stale - check
> driver
> May  5 03:50:50 egbert upsd[96662]: UPS [ups1] data is no longer stale
>
> ie 5 messages per second! MAXAGE is 15 seconds, IMO it should be at _least_
> that time between complaints of staleness..
>
> Am I misunderstanding what MAXAGE does?


I think I've found something, but I would need an upsd debug output (level
3) to see what going on the state socket.
A few more questions:
- would you be able to test a patch?
- what version of nut is running there?
- which driver (I assumed mge-shut)?

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090506/fa1c338f/attachment.htm>


More information about the Nut-upsdev mailing list