Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Monitor APC UPS via SNMP

Monitor APC UPS via SNMP

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 17.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    slm4996
    wrote on last edited by
    #1

    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 UNSUPPORTED
    

    Here 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.00
    

    I should add that I have tried all of the available "Data Types" for the snmp return string.

    1 Reply Last reply
    0
    • L
      L
      lindeamon
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • S
        S
        SKYnv
        wrote on last edited by
        #3

        i'm use these oids

        1. upsAdvInputLineVoltage
          .1.3.6.1.4.1.318.1.1.1.3.2.1.0

        2. upsAdvOutputVoltage
          .1.3.6.1.4.1.318.1.1.1.4.2.1.0

        3. upsAdvOutputLoad
          .1.3.6.1.4.1.318.1.1.1.4.2.3.0

        4. upsAdvBatteryCapacity
          .1.3.6.1.4.1.318.1.1.1.2.2.1.0

        5. upsAdvBatteryTemperature
          .1.3.6.1.4.1.318.1.1.1.2.2.2.0

        6. upsAdvRunTimeRemaining
          .1.3.6.1.4.1.318.1.1.1.2.2.3.0

        7. 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);
        }
        
        1. 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)

        1 Reply Last reply
        0
        • S
          S
          slm4996
          wrote on last edited by
          #4

          Thank everyone, I was forgetting the .0 on the end

          1 Reply Last reply
          0

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups