addition to snmpd.conf to monitor disk usage

Started by gbn, May 01, 2024, 10:27:19 AM

Previous topic - Next topic
Hello,

version 24.1.6

I am trying to monitor hard drive usage.
Out of the box I get this, when snmpwaking the regular OID .1.3.6.1.4.1.2021.9.1
UCD-SNMP-MIB::dskEntry = No Such Object available on this agent at this OID

When I add the info about hard drive monitoring to snmpd.conf, I get all the results I need from this OID
echo "includeAllDisks 10%" >> /usr/local/share/snmp/snmpd.conf
killall -HUP snmpd

Is there a way to add this option in a less hackery way, or could a feature be added to the services>net-snmp web interface section ? for example, a checkbox to enable hardcrive monitoring and a text field to set the value ?


The HOST-RESOURCES-MIB contains all the storage values.

https://mibs.observium.org/mib/HOST-RESOURCES-MIB/
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)