I have a server running FreeNAS. It has a built in RAID card that is currently running 4 disks in RAID 10.
I have a LibreNMS server that uses SNMP to monitor all our network, virtual OSes, and physical machines. I just noticed that when monitoring a FreeNAS machine it does not show disk usage. Not even the OS that is running off a USB stick.
Is this just FreeNAS thing? If so how do you monitor your disk usage to know when disks are becoming full?
Best Answer
From what I recall of FreeNAS, you actually need to enable the SNMP service from the GUI. There's a HOST-RESOURCES-MIB that should show you what you're looking for. All MIBs are located under the
/usr/local/share/snmp/mibs
directory.edit: Try a combination of these three OIDs (exact OID may vary on your system):
You will need to multiply the
hrStorageAllocationUnits
into thehrStorageSize
andhrStorageUsed
to convert to bytes.