[Nut-upsuser] Plea for a more loquacious nut
Kris Jordan
nut01.kj at sagebrushnetworks.com
Thu Dec 5 02:39:10 UTC 2013
Charles Lepple wrote, On 12/4/2013 4:11 PM:
> On Dec 4, 2013, at 3:52 PM, Kris Jordan wrote:
>
>> Roger Price wrote, On 12/4/2013 12:35 PM:
>>> I would like nut to become more loquacious, and to log a much more complete report of its activity. At present nut reports that its components have started operation but does not automatically log their activity when UPS's switch between OB and OL. I believe that this under-reporting of important facts is too minimalist - it would be better for system administrators and for the nut support team if a much more complete report were available of all OB/OL activity by each component.
>> I've noticed that NUT doesn't notice short power outages or glitches like previous setups (APC Smart-UPS+Apcupsd) I've had. I do miss that. I thought NUT supported UPS notifications/interrupts so that it can know of power events that happen in-between the regular poll interval. But I don't how much the lack of reporting is due to NUT or the Eaton UPS's I am using now.
>
> The default setting in upsmon.conf for ONLINE/ONBATT is SYSLOG+WALL.
>
> If those events aren't being logged, we would need to trace further upstream and see if the driver is generating the events.
>
> Kris: I don't know the various debug levels off the top of my head, but if you want to manually start the driver with a few -D flags and log the resulting output, we can see whether or not your UPS is sending the notifications the way that the driver is expecting them.
Since August, Apcupsd+SU700NET has logged 20 "Power failures". These
were all what I would call glitches. Actual power failures here are
rare. During the same period, NUT 2.6.5+Eaton 5PX has logged nothing.
It's on the same circuit as the SU700NET.
The 5PX is plugged into a cut-off switch so I can easily test it, so I
know upsmon's logging is working, if I give it a few seconds to notice.
I can flip the switch fast and the UPS responds (beeps, relays
clicking), but nothing from upsmon.
I've been meaning to do the full debugging bit, including the
SU700NET+NUT to see if it behaves differently. I'll upgrade NUT and get
that testing done.
Thanks
More information about the Nut-upsuser
mailing list