I’ve been tasked with the job of implementing disk checking via snmp in nagios. I’ve created a perl script with net::snmp to pull the data but i’ve run into a problem. when doing ( hrStorageSize / hrStorageUsed ) * 100 I consistently get back data which is off by ~ 5%. I can only assume this is due to journaling. Multiplying the data by 1.1 or 1.07 seems to generate data that is closer to what I see in df.
My question I suppose is…am I using the wrong MIB or am I forced to run a local client on these machines to get accurate reporting?