This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Does anyone know how to poll CyberPower UPS?

I can poll the device itself, but I am looking for data on remaining battery life and battery load.

  • If i understand you correctly you need to get information from the device. You can do this with official software or use SNMP-agent to get the info with MIB-files:

    MIB Files | CyberPower Systems

    Hope you know how to work with MIB :-)

  • Do a snmpwalk on the device and then look for the OID that have the information you're looking for. Then you just create a custom poller to poll the oids you're interested in.

  • I appreciate the help! I was able to pull the OID's, but how do I read them and know which ones I am looking for? Here is a sample of the output:

    .1.3.6.1.2.1.1.1.0 = STRING: "UPS SNMP Card"

    .1.3.6.1.2.1.1.2.0 = OID: 1.3.6.1.4.1.3808.1.1.1

    .1.3.6.1.2.1.1.3.0 = TIMETICKS: 143138800

    .1.3.6.1.2.1.1.4.0 = STRING: "Administrator"

    .1.3.6.1.2.1.1.5.0 = STRING: "GG_Property"

    .1.3.6.1.2.1.1.6.0 = STRING: "GG Office"

    .1.3.6.1.2.1.1.7.0 = INTEGER: 72

    .1.3.6.1.2.1.2.1.0 = INTEGER: 2

    .1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1

    .1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2

    .1.3.6.1.2.1.2.2.1.2.1 = HEX-STRING: 6167010000

    .1.3.6.1.2.1.2.2.1.2.2 = HEX-STRING: 0008351200

    .1.3.6.1.2.1.2.2.1.3.1 = INTEGER: 0

    .1.3.6.1.2.1.2.2.1.3.2 = INTEGER: 18

    .1.3.6.1.2.1.2.2.1.4.1 = INTEGER: 1500

    .1.3.6.1.2.1.2.2.1.4.2 = INTEGER: 4649

    .1.3.6.1.2.1.2.2.1.5.1 = GAUGE32: 10000000

    .1.3.6.1.2.1.2.2.1.5.2 = GAUGE32: 134222393

    .1.3.6.1.2.1.2.2.1.6.1 = HEX-STRING: 000C1501E39C

    .1.3.6.1.2.1.2.2.1.6.2 = STRING: ""

    .1.3.6.1.2.1.2.2.1.7.1 = INTEGER: 7

    .1.3.6.1.2.1.2.2.1.7.2 = INTEGER: 2

    .1.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1

    .1.3.6.1.2.1.2.2.1.8.2 = INTEGER: 2

    .1.3.6.1.2.1.2.2.1.9.1 = TIMETICKS: 2300

    .1.3.6.1.2.1.2.2.1.9.2 = TIMETICKS: 134222397

    .1.3.6.1.2.1.2.2.1.10.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.10.2 = COUNTER32: 134222401

    .1.3.6.1.2.1.2.2.1.11.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.11.2 = COUNTER32: 134222405

    .1.3.6.1.2.1.2.2.1.12.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.12.2 = COUNTER32: 134222409

    .1.3.6.1.2.1.2.2.1.13.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.13.2 = COUNTER32: 134222413

    .1.3.6.1.2.1.2.2.1.14.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.14.2 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.15.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.15.2 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.16.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.16.2 = COUNTER32: 134222417

    .1.3.6.1.2.1.2.2.1.17.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.17.2 = COUNTER32: 134222421

    .1.3.6.1.2.1.2.2.1.18.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.18.2 = COUNTER32: 134222425

    .1.3.6.1.2.1.2.2.1.19.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.19.2 = COUNTER32: 134222429

    .1.3.6.1.2.1.2.2.1.20.1 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.20.2 = COUNTER32: 0

    .1.3.6.1.2.1.2.2.1.21.1 = GAUGE32: 0

    .1.3.6.1.2.1.2.2.1.21.2 = GAUGE32: 0

    .1.3.6.1.2.1.2.2.1.22.1 = OID: 0.0

    .1.3.6.1.2.1.2.2.1.22.2 = OID: 0.0

    .1.3.6.1.2.1.3.1.1.1.1.10.10.24.254 = INTEGER: 1

    .1.3.6.1.2.1.3.1.1.2.1.10.10.24.254 = HEX-STRING: 906CAC68C010

    .1.3.6.1.2.1.3.1.1.3.1.10.10.24.254 = IPADDRESS: 10.10.24.254

    .1.3.6.1.2.1.4.1.0 = INTEGER: 2

    .1.3.6.1.2.1.4.2.0 = INTEGER: 255

    .1.3.6.1.2.1.4.3.0 = COUNTER32: 368878

    .1.3.6.1.2.1.4.4.0 = COUNTER32: 0

    .1.3.6.1.2.1.4.5.0 = COUNTER32: 291526

    .1.3.6.1.2.1.4.6.0 = COUNTER32: 0

    .1.3.6.1.2.1.4.7.0 = COUNTER32: 0

    .1.3.6.1.2.1.4.8.0 = COUNTER32: 291526

    .1.3.6.1.2.1.4.9.0 = COUNTER32: 77358

    .1.3.6.1.2.1.4.10.0 = COUNTER32: 16041

  • To understand the result from this kind of output you can:

    1) Look at device web-interface and compare the result you looking for with every OID you get from SNMP Walk. For example: you looking for time of battery, you can find the data on web-interface and you can search same data with OID you get.

    But the problem is SNMP walk can output the data in seconds not in munites. So this experemental way!

    The best way to get the data from OID is to get official MIB-files from the device developer. Use the direct link i post today! You can use different software to read this MIB files, you can find the description for every OID inside, and you find the numbers you looking for for sure!