APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
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
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
"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:
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.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
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
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
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
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
"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:
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.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:32 AM
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
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:31 AM
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
I'd appreciate any assistance as i am trying to get the PDU monitored via WhatsUpGold thanks
Colin
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:31 AM
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.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-29 05:46 AM . Last Modified: 2024-03-13 12:31 AM
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
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.