SNMP to read temperatures

    • SNMP to read temperatures

      Hi,
      when I install the SNMP Plugin I get:

      Preparing to unpack .../openmediavault-snmp_4.0.4-1_all.deb ...
      Unpacking openmediavault-snmp (4.0.4-1) ...
      Setting up openmediavault-snmp (4.0.4-1) ...
      Updating service units ...
      Updating configuration database ...
      Updating configuration ...
      Processing triggers for openmediavault (4.1.23-1) ...
      Updating locale files ...
      Updating file permissions ...
      Purging internal cache ...
      Restarting engine daemon ...
      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fe11b7b97b8>
      Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
      TypeError: 'NoneType' object is not callable
      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fe11b7b97b8>
      Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
      TypeError: 'NoneType' object is not callable
      Done ...

      Is this a problem?

      After enabling SNMP v3, I can use snmpwalk to walk he tree. But lm-sensors and SMART sensors are missing.
      How can I get CPU and HDD temperatur via SNMP?

      Thanks
      Christian
    • To fix the python error see:

      Random errors - Are they harmful?


      The SNMP MIBs you are using would have to have OIDs for the SMART and temperature data you are trying to read. Walking the tree and not finding them says they are not supported.
      --
      Google is your friend and Bob's your uncle!

      RAID - Its ability to disappoint is inversely proportional to the user's understanding of it.

      ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.
    • Where can I see which OIDs are available or required for my system?
      I looked into /usr/share/snmp/mibs/LM-SENSORS-MIB.txt, but couldn't find any OIDs.

      The board is quite standard, a supermicro PDSM4 with intel 3010 chipset, ICH7R south bridge and xeon X3220. sensors reports
      coretemp-isa-0000
      Adapter: ISA adapter
      Core 0: +44.0°C (high = +82.0°C, crit = +100.0°C)
      Core 1: +44.0°C (high = +82.0°C, crit = +100.0°C)
      Core 2: +42.0°C (high = +82.0°C, crit = +100.0°C)
      Core 3: +43.0°C (high = +82.0°C, crit = +100.0°C)


      Is it necessary to install something additionally to report SMART values via SNMP or should it just work out of the box?
    • As I keep saying, it's all about the MIBs. You should read up on how SNMP works and then get a hold of the MIB file you need to make this work. Your board vendor should be able to help.

      net-snmp.sourceforge.net/wiki/…UT:Using_and_loading_MIBS

      supermicro.com/products/accessories/software/SNMP.cfm
      --
      Google is your friend and Bob's your uncle!

      RAID - Its ability to disappoint is inversely proportional to the user's understanding of it.

      ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.
    • Users Online 1

      1 Guest