Monitor APC UPS via SNMP
-
I have been trying to monitor some of our APC networked UPS via their SNMP interface. Now I am completely new to NetXMS so probably this error is entirely my fault
.I added a new DCI for the UPS using snmp and the oid of .1.3.6.1.4.1.318.1.1.1.2.2.3 (upsAdvBatteryRunTimeRemaining) and I get the error:
Status of DCI 975 (SNMP: .1.3.6.1.4.1.318.1.1.1.2.2.3) changed to UNSUPPORTEDHere is the output of a snmpget of that OID:
.1.3.6.1.4.1.318.1.1.1.2.2.3.0 = Timeticks: (2412000) 6:42:00.00I should add that I have tried all of the available "Data Types" for the snmp return string.
-
hi,
the snmpget adds the .0 at the end and this is what you should add to the snmp of the dci.
here is a link to a template i wrote in which you can see when i had to use .1 or .3 instead of .0
https://www.netxms.org/forum/general-support/sharing-standard-templates-for-netxms/msg9024/#msg9024
there is a cool freeware tool from manageengine called snmp mib broswer in which you can load mib files, query the node according to it and see if you need to add the .0 .1 or anything else.have fun,
Lindeamon -
i'm use these oids
-
upsAdvInputLineVoltage
.1.3.6.1.4.1.318.1.1.1.3.2.1.0 -
upsAdvOutputVoltage
.1.3.6.1.4.1.318.1.1.1.4.2.1.0 -
upsAdvOutputLoad
.1.3.6.1.4.1.318.1.1.1.4.2.3.0 -
upsAdvBatteryCapacity
.1.3.6.1.4.1.318.1.1.1.2.2.1.0 -
upsAdvBatteryTemperature
.1.3.6.1.4.1.318.1.1.1.2.2.2.0 -
upsAdvRunTimeRemaining
.1.3.6.1.4.1.318.1.1.1.2.2.3.0 -
upsBasicBatteryTimeOnBattery
.1.3.6.1.4.1.318.1.1.1.2.1.2.0
for this oid i use this transformation script for converting to minutes.
sub main() { return ($1/6000); }- upsBasicBatteryStatus
.1.3.6.1.4.1.318.1.1.1.2.1.1.0
don't forget about instance ('.0' on the end of oid)
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login