Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
79292members
343971posts

OID and MIB question on APC UPS units.

Solved
grubersnmp_apc
Crewman
Crewman
0 Likes
7
447

OID and MIB question on APC UPS units.

This was originally posted on APC forums on 5/2/2013


Hello, I am working towards setting up a remote monitoring system for my work place and I had some questions regarding APC OID's and the APC MIB. I started using GetIf today to narrow down some of the OID's that I want to check and I noticed something that I thought was a bug with a different program that is similar to GetIf. When I walk the MIB tree down I see multiples of the same OID description. They often have values in them but the values seem to be unrelated or are valid values for other OID's. Here are some examples.

.1.3.6.1.4.1.318.1.1.1.2.3.1.0 upsBattery.3.1.0 : 1000

.1.3.6.1.4.1.318.1.1.1.2.3.2.0 upsBattery.3.2.0 : 341

.1.3.6.1.4.1.318.1.1.1.2.3.3.0 upsBattery.3.3.0 : 1200

.1.3.6.1.4.1.318.1.1.1.2.3.4.0 upsBattery.3.4.0 : 1365

This seems to occur multiple times throughout the MIB. Can anyone explain the reason for multiple OID's with the same description but different values?

Thanks,

Jeff Rogers

PS this is coming from a 16kVA Symmetra

Tags (3)

Accepted Solutions
voidstar_apc
Janeway
Janeway
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 5/2/2013


"upsHighPrecBatteryCapacity" should not be .1.3.6.1.4.1.318.1.1.1.2.2.1


Make sure you have the latest PowerNet MIB (as of time of writing) from here: PowerNet MIB v4.0.7 (Scroll down to the MIB).


Here's what you should see when you walk the MIB in GetIF:

1136_WalkMIB.png

If it still doesn't work, try weeding out GetIF's MIB folder to the powernet407.mib file and a few others that come with GetIF. Some MIBs I've encountered are malformed and will fool GetIF or otherwise conflict.

See Answer In Context

7 Replies 7
cmarva_apc
Crewman
Crewman
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 5/2/2013


Jeff,

What you have posted are 4 distinct MIB objects in the powernet MIB.

What you are seeing might be a display problem in the way that your program works, because .1.3.6.1.4.1.318.1.1.1.2 is representative of upsBattery in the powernet MIB.

So it is showing you the numerical oid string, and then the textual (as much as the program can) oid. Last is the value,

for item 1, which is upsHighPrecBatteryCapacity expressed in tenths of full capacity (so it's showing 100%)

for item2, which is upsHighPrecBatteryTemperature, expressed in tenths of degrees celsius (it's showing 34.1 degrees C)

etc.

But I am not familiar with getif so I don't know what options are available, but I'd suggest look for an option to print only numerical oids (in net-snmp, it's "-O n"

chris

grubersnmp_apc
Crewman
Crewman
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 5/2/2013


Ok that does make more sense but that leads me into another question. I see where you are matching those OID's to the description. It doesn't look like it matches up for me however. I guess this is also my fault for not sharing this the first time however I didn't notice.

In the results from the SNMP poll I see :

.1.3.6.1.4.1.318.1.1.1.2.3.1.0 upsBattery.3.1.0 : 1000


In the tree view I see the description that you gave "upsHighPrecBatteryCapacity" that OID is :


.1.3.6.1.4.1.318.1.1.1.2.2.1


In the tree view I dont even have a 318.1.1.1.2.3

voidstar_apc
Janeway
Janeway
0 Likes
0
448

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 5/2/2013


"upsHighPrecBatteryCapacity" should not be .1.3.6.1.4.1.318.1.1.1.2.2.1


Make sure you have the latest PowerNet MIB (as of time of writing) from here: PowerNet MIB v4.0.7 (Scroll down to the MIB).


Here's what you should see when you walk the MIB in GetIF:

1136_WalkMIB.png

If it still doesn't work, try weeding out GetIF's MIB folder to the powernet407.mib file and a few others that come with GetIF. Some MIBs I've encountered are malformed and will fool GetIF or otherwise conflict.

grubersnmp_apc
Crewman
Crewman
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 5/2/2013


This seems to be the case, I was using a older version and the MIB seems to be incorrect. Everything meshes now thank you!

Jeff

mchugo_apc
Crewman
Crewman
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 12/16/2014


Hi all,

I have a similar issue where i am trying to monitor the phase load on aAPC PDU but the amps are in 10 times what they should be in the readings (reading 16amps but it should be 1.6 amps) theOiD is 

1.3.6.1.4.1.318.1.1.12.2.3.1.1.2

I'd appreciate any assistance as i am trying to get the PDU monitored via WhatsUpGold thanks 

Colin

BillP
Administrator Administrator
Administrator
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This reply was originally posted by Angela on APC forums on 12/16/2014


Hello, the OID you mentioned has this for its description:

Getting this OID will return the phase/bank load measured in tenths of Amps.

So 16 is really 1.6 because of the description. Does What's Up Gold allow you to format the data somehow so that it can convert 16 to 1.6? Else, you'd need to know this is specifying in tenths.

mchugo_apc
Crewman
Crewman
0 Likes
0
447

Re: OID and MIB question on APC UPS units.

This was originally posted on APC forums on 12/17/2014


Thank you Angela no as far as i know what's up gold does not allow this so I am trying to find a work around for this problem. I'd appreciate your or anyone elses help on this one. thanks in advance. Colin