Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2689

Added support for PowerShield battery monitoring SNMP Adaptor

Details

    • Add New Device / OS
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Discovery, OS
    • None
    • Linux 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    Description

      https://www.powershield.com/ creates monitoring solutions for UPS batteries. Usually you talk directly to the powershield device using TCP/IP and a windows client. But they also have a SNMP adaptor that talks to the powershield using modbus.

       

      This patch adds support for the SNMP Adaptor. It pulls Voltage, Temperature and Impedance from every battery.

       

      The OS detection is very ugly, but hopefully it should'nt conflict.

      Attachments

        1. discovery_debug.txt
          266 kB
        2. powershield_snmp.diff
          23 kB
        3. powershield.diff
          3 kB
        4. snmpwalk.txt
          29 kB

        Activity

          [OBS-2689] Added support for PowerShield battery monitoring SNMP Adaptor
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Added support in r12408.

          landy Mike Stupalov added a comment - Added support in r12408.
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Progress [ 3 ]

          Is it possible to group values together? As you can see from the snmwalk we have information about which batteries that belong to what string. I guess it would be nice to group them together if possible.

          ankerstal Peter Ankerstal added a comment - Is it possible to group values together? As you can see from the snmwalk we have information about which batteries that belong to what string. I guess it would be nice to group them together if possible.

          Added a new diff that fixes a few copy paste errors and also reads values for battery strings, not only individual blocks.

          ankerstal Peter Ankerstal added a comment - Added a new diff that fixes a few copy paste errors and also reads values for battery strings, not only individual blocks.
          ankerstal Peter Ankerstal made changes -
          Attachment New: powershield.diff [ 15032 ]

          Added the output you asked for.

          ankerstal Peter Ankerstal added a comment - Added the output you asked for.
          ankerstal Peter Ankerstal made changes -
          Attachment New: discovery_debug.txt [ 15030 ]
          Attachment New: snmpwalk.txt [ 15031 ]
          landy Mike Stupalov made changes -
          Issue Type Original: New Feature [ 2 ] New: Add New Device / OS [ 10002 ]
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]

          yah, os detect incorrect.

          please attach debug output:

          ./discovery.php -d -h <your_device>
          

          And additionally maximum possible snmpwalk for vendor tree:

          snmpwalk -v2c -c <your_community> -M /opt/observium/rfc:/opt/observium/net-snmp:/opt/observium/powershield -m PS-POWERSHIELD-MIB <your_device> .1.3.6.1.4.1.35154
          

          landy Mike Stupalov added a comment - yah, os detect incorrect. please attach debug output: ./discovery.php -d -h <your_device> And additionally maximum possible snmpwalk for vendor tree: snmpwalk -v2c -c <your_community> -M /opt/observium/rfc:/opt/observium/net-snmp:/opt/observium/powershield -m PS-POWERSHIELD-MIB <your_device> .1.3.6.1.4.1.35154

          People

            landy Mike Stupalov
            ankerstal Peter Ankerstal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: