[Nut-upsuser] HP R12000/3 UPS reports status as OL DISCHRG OB
Pratt Chris
Chris.Pratt at comptel.com
Wed Jul 17 08:54:06 UTC 2013
Hi Charles.
I can't remember exactly where it is (like most of the large corporations HP make the information that you really want incredibly hard to find) but I've got a copy of the MIB v1.6.4 that I downloaded last October when I was in conversation with Arnaud.
Chris.
Chris Pratt
Development Infrastructure Manager
T: +44 118 929 4176 | M: +44 7979 854 307 | F: +44 118 929 4001
-----Original Message-----
From: Charles Lepple [mailto:clepple at gmail.com]
Sent: 17 July 2013 03:25
To: Pratt Chris
Cc: nut-upsuser at lists.alioth.debian.org lists.alioth.debian.org
Subject: Re: [Nut-upsuser] HP R12000/3 UPS reports status as OL DISCHRG OB
Here's the first update of ups.status:
0.102449 getting data: ups.status (.1.3.6.1.4.1.232.165.3.4.5.0)
0.102546 su_ups_get: ups.status .1.3.6.1.4.1.232.165.3.4.5.0
0.102646 nut_snmp_get(.1.3.6.1.4.1.232.165.3.4.5.0)
0.104539 SNMP UPS driver : entering su_status_set()
0.104641 su_find_infoval: found OL (value: 3)
0.104730 => value: 3
0.104823 getting data: ups.status (.1.3.6.1.4.1.232.165.3.2.5.0)
0.104919 su_ups_get: ups.status .1.3.6.1.4.1.232.165.3.2.5.0
0.105028 nut_snmp_get(.1.3.6.1.4.1.232.165.3.2.5.0)
0.107134 SNMP UPS driver : entering su_status_set()
0.107231 su_find_infoval: found DISCHRG (value: 2)
0.107319 => value: 2
0.107412 getting data: ups.status (.1.3.6.1.4.1.232.165.3.7.3.0)
0.107507 su_ups_get: ups.status .1.3.6.1.4.1.232.165.3.7.3.0
0.107616 nut_snmp_get(.1.3.6.1.4.1.232.165.3.7.3.0)
0.109529 SNMP UPS driver : entering su_status_set()
0.109630 su_find_infoval: found OB (value: 1)
0.109720 => value: 1
The first one (...3.4.5.0) is labeled in the driver as CPQPOWER_OID_POWER_STATUS. I checked around for this, and didn't find a good definition, but that seems to match the OL state.
The second one seems specific to the battery:
static info_lkp_t cpqpower_battery_abm_status[] = {
{ 1, "CHRG" },
{ 2, "DISCHRG" },
/* { 3, "Floating" }, */
/* { 4, "Resting" }, */
/* { 5, "Unknown" }, */
{ 0, "NULL" }
} ;
I could see the battery monitoring circuit discharging the battery occasionally for maintenance, but is there a separate front-panel indicator for this mode?
The third one is CPQPOWER_OID_ALARM_OB. This definitely doesn't make sense, since things with "alarm" in the name are usually pretty direct.
The big question in my mind is, where did the NUT definitions come from?
Did your UPS come with a CD that might contain a SNMP MIB definition file? Or is there an area on the HP support site? (All I saw was a firmware update .EXE)
Disclaimer: This message and any attachments thereto are intended solely for the addressed recipient(s) and may contain confidential information.
If you are not the intended recipient, please notify the sender by reply e-mail and delete the e-mail (including any attachments thereto) without producing, distributing or retaining any copies thereof. Any review, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited.
Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HP-MIB1.64.zip
Type: application/x-zip-compressed
Size: 17871 bytes
Desc: HP-MIB1.64.zip
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130717/d5d7a1db/attachment-0001.bin>
More information about the Nut-upsuser
mailing list