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!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • As I said. If they are not in the MIB they are not supported by SNMP.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • 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.


    http://net-snmp.sourceforge.ne…UT:Using_and_loading_MIBS


    https://www.supermicro.com/pro…ssories/software/SNMP.cfm

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!