Hi,
Ken noticed a filesystem fill up but not trigger one of the rules
we had monitoring it. It turns out that the filesys.free (%) value
is not taking into account the difference in the statfs(2) f_bavail
and f_bfree fields. It also turns out that XFS always reports these
two values as the same (doesn't allow extra space for root), which
is probably why no SGI customer has ever reported it. ;-)
I've looked into the way the GNU df(1) source implements this code,
and have updated the PCP code to use a similar algorithm. I've also
cleaned up some of the related filesys metric value calculations, as
the casting was causing me some code readability issues.
cheers.
--
Nathan
fix-filesys-full-metric
Description: Text Data
|