Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
addition to snmpd.conf to monitor disk usage
« previous
next »
Print
Pages: [
1
]
Author
Topic: addition to snmpd.conf to monitor disk usage (Read 458 times)
gbn
Newbie
Posts: 1
Karma: 0
addition to snmpd.conf to monitor disk usage
«
on:
May 01, 2024, 10:27:19 am »
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 ?
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: addition to snmpd.conf to monitor disk usage
«
Reply #1 on:
May 01, 2024, 11:00:52 am »
The HOST-RESOURCES-MIB contains all the storage values.
https://mibs.observium.org/mib/HOST-RESOURCES-MIB/
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
addition to snmpd.conf to monitor disk usage