How monitor NVME health? My IpFire device has internal NVME… would be common i believe now. But I have no way that I can see by default to monitor the health of any internal storage on my IpFire device. Can SmartMonTools be added for example? SNMP maybe?
It is already available as part of the core programs.
Yes… I discovered that right after I posted. However, I am also looking for ways to communicate smartctl (results) status to a monitoring system… I don’t see net-snmp shown as an optional package. I see Zabbait and NPE. I do see netsnmpd in the init.d directory, and found the SNMP configuration.
Now to figure out away to get the NVME health visible via SNMP or otherwise. Unfortunately it seems .1.3.6.1.4.1.4935.1000.100.200.100.2000.1.10000.100.250 OID which in some cases returns the NVME/SSD health/lifespan is not valid OID on IpFire.
It is available as an addon.
net-snmp is installed as it comes but without any config file and with only the default MIB values that come with the package.
You may need to look at how to get that OID into the MIB tree that comes with net-snmp by default.
On that topic I can’t help as I have never used net-snmp in IPFire or on any other Linux system that I have.
This link might be of help on how to do that
https://www.net-snmp.org/tutorial/tutorial-5/commands/mib-options.html
The thing to note is that in IPFire the mibs are in
/usr/share/snmp/mibs/
and not in
/usr/local/share/snmp/mibs/
as mentioned in that web page.
Fortunately, I do have some experience with SNMP, so I have some ideas where or how to take this forward. Even use of a custom agent, or snmptrap maybe a way to get the results I need. Going to be interesting.