as a follow up to my email earlier today i've come to the conclusion
that i've been inaccurately monitoring my UFS file system disk usage
from jffnms.

according to:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

"9.26. How is it possible for a partition to be more than 100% full?

A portion of each UFS partition (8%, by default) is reserved for use
by the operating system and the root user. df(1) does not count that
space when calculating the Capacity column, so it can exceed 100%.
Also, you will notice that the Blocks column is always greater than
the sum of the Used and Avail columns, usually by a factor of 8%.

For more details, look up the -m option in tunefs(8)."

the default 'Used Storage' condition in jffnms 0.8.2 is:
 ( <storage_used_blocks> > ((<storage_block_count>*<usage_threshold>)/100))

this doesn't take into account the 8% reservation, which renders the
'usage_threshold' useless.

i've updated my 'Used Storage' condition to reflect this 8% reservation:
 ( <storage_used_blocks> > (((<storage_block_count>  -
(<storage_block_count> * .08)) * <usage_threshold>)/100))

i'm not sure if there's some way for jffnms to autodetect UFS file
systems that have this reservation, but it's safe to assume that all
FreeBSD systems have this reservation.

write up:
http://undef.net/post/170-jffnms-freebsd-snmp-inaccurate-disk-usage-reporting

-g

-- 
Greg Albrecht ([EMAIL PROTECTED])
The Letter G - http://theletterg.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to