[Nut-upsuser] occassional problem wtih upslog and apc ups units via snmp ... [NA] status
Charles Lepple
clepple at gmail.com
Fri Aug 14 02:51:44 UTC 2015
On Aug 13, 2015, at 12:45 PM, Bob Brown <bbrown at harpercollege.edu> wrote:
>
> Os is redhat enterprise, kernel 2.6.18-164.2.1.e15
> NUT is apparently 2.4.1
> It was installed by tar.
>
> Monitoring a lot of apc UPS units—mostly Smart-UPS of various flavors, also a Silcon DP380E.
>
> Normally works just fine… “upslog” writes status log every 30 seconds with various parameters..
>
> Every so often, one of the UPS units has a log entry of:
>
> 20150812+035542+NA+NA+NA+[NA]+NA+NA+NA
>
> When it normally looks like:
>
> 20150813+114309+100.00+115.00+39.00+[OL]+25.00+60.00+1020.00
>
> What does it mean when it puts NA in the log file?
Every log interval, each variable is fetched from the server, and if there is an error retrieving that value at that time, "NA" is logged:
https://github.com/networkupstools/nut/blob/master/clients/upslog.c#L203
Since they are all "NA" at the same time, it is likely that there is a communication problem, either between upslog and upsd, or between upsd and the driver. In either case, there is probably a syslog message describing the problem in more detail.
--
Charles Lepple
clepple at gmail
More information about the Nut-upsuser
mailing list