You are here


Monitoring filesystem usage with SNMP

Continuing our run of useful SNMP OIDs...

One of the most commonly monitored statictics is filesystem usage. Here is how you do it with SNMP. All OIDs listed are available under MIB-II.

Note: <int> is an integer corresponding to the filesystem number. Most systems will have multiple partitions / filesystems.



Description of filesystem. On a Unix system examples would be / or /home. Under Windows expect C:/, D:/ etc/



Capacity of filesystem in blocks



How many blocks are currently being used to store data



Blocksize in bytes. Important because other stats are in blocks.


So to find capacity of filesystem in bytes you need to multiply the size in blocks with the block size. Same principle applies to calculating how much of the filesystem is in use.

If you want to display values in Kb / Mb / Gb remember to divide by 1024 each time.

Get unified insight into your IT operations with Opsview Monitor

webteam's picture
by Opsview Team,
Opsview is passionately focused on monitoring that enables DevOps teams to deliver smarter business services, faster.

More like this

Aug 16, 2016
By David Chatterton, Customer Success Engineer

A guide on how to monitor Juniper EX switches using SNMP and Opsview. 

Troubleshooting Linux
Aug 07, 2017
By Robert Oliver, Technical Writer

Despite the lightweight, optimized design of Linux, applications can always introduce anomalies and performance problems can, and will, creep into...

Jun 02, 2016
By John Hashem, Technical Pre-sales

A blog on how to utilize SNMP Traps for more efficient monitoring.