A guide on how to monitor Juniper EX switches using SNMP and Opsview.
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.
More like this
Despite the lightweight, optimized design of Linux, applications can always introduce anomalies and performance problems can, and will, creep into...
A blog on how to utilize SNMP Traps for more efficient monitoring.