Hi Daniel,<br><br><div class="gmail_quote">2009/5/5 Daniel O'Connor <span dir="ltr"><<a href="mailto:doconnor@gsoft.com.au">doconnor@gsoft.com.au</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I have had a long standing problem with NUT talking to 110V MGE UPSs on<br>
FreeBSD, I was recently investigating again and noticed that upsd seems<br>
overly noisy, eg..<br>
<br>
May  5 03:50:36 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
May  5 03:50:36 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver<br>
May  5 03:50:36 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
May  5 03:50:36 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver<br>
May  5 03:50:39 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
May  5 03:50:46 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver<br>
May  5 03:50:46 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
May  5 03:50:47 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver<br>
May  5 03:50:47 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
May  5 03:50:47 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver<br>
May  5 03:50:47 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
May  5 03:50:47 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver<br>
May  5 03:50:50 egbert upsd[96662]: UPS [ups1] data is no longer stale<br>
<br>
ie 5 messages per second! MAXAGE is 15 seconds, IMO it should be at _least_<br>
that time between complaints of staleness..<br>
<br>
Am I misunderstanding what MAXAGE does?</blockquote><div><br>I think I've found something, but I would need an upsd debug output (level 3) to see what going on the state socket.<br>A few more questions:<br>- would you be able to test a patch?<br>
- what version of nut is running there?<br>- which driver (I assumed mge-shut)?<br><br>cheers,<br>Arnaud<br></div></div>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>