Hello list members,
I am running NUT 2.0.1 on an OpenBSD 3.8 system, using the OpenBSD port for net-snmp-5.1.2p2. The UPS is connected via an AP9606 Web/SNMP card with current firmware, and the LAN. All goes well for a long time, usually more than one month. Then the system starts spitting messages about losing communications with the UPS. A second message about reconnecting follows immediately. The messages are sometimes coming at a fast rate, faster than the 300 seconds specified for NOCOMMWARNTIME in upsmon.conf. A reboot of the computer running NUT (the only computer running NUT) does not fix it, so I assume that there is something going on with the UPS or the UPS network card.
If this is not a known problem, I would be happy to do some guided sleuthing to track it down. However, I have no clue where to look.
Any pointers would be much appreciated.
George
The system log messages look like this:
Jan 4 10:57:00 z9 upsd[12613]: Data for UPS [ap9606-srv] is stale - check driver
Jan 4 10:57:02 z9 upsd[12613]: UPS [ap9606-srv] data is no longer stale
Jan 4 10:59:02 z9 upsd[12613]: Data for UPS [ap9606-srv] is stale - check driver
Jan 4 10:59:02 z9 upsd[12613]: UPS [ap9606-srv] data is no longer stale
The output from upsmon -D (with console messages interspersed) follows
/usr/local/ups/sbin >> ./upsmon -D
Network UPS Tools upsmon 2.0.1
UPS: [EMAIL PROTECTED] (slave) (power value 1)
Using power down flag file /etc/killpower
Trying to connect to UPS [EMAIL PROTECTED]
Logged into UPS [EMAIL PROTECTED]
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (first time)
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (no change)
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (no change)
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (no change)
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (no change)
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
Poll UPS [EMAIL PROTECTED] failed - Data stale
do_notify: ntype 0x0005 (COMMBAD)
Communications with UPS [EMAIL PROTECTED] lost
Broadcast Message from [EMAIL PROTECTED]
(/dev/ttyp0) at 10:39 ...
Communications with UPS [EMAIL PROTECTED] lost
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
do_notify: ntype 0x0004 (COMMOK)
Communications with UPS [EMAIL PROTECTED] established
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (no change)
Broadcast Message from [EMAIL PROTECTED]
(/dev/ttyp0) at 10:40 ...
Communications with UPS [EMAIL PROTECTED] established
polling ups: [EMAIL PROTECTED]
get_var: [EMAIL PROTECTED] / status
status: [OL]
parsing: [OL]: ups_on_line([EMAIL PROTECTED]) (no change)
^CSignal 2: exiting
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

