Lately I’ve been experiencing that 1% can be a lot of GB’s when you’re monitoring disc usage and therefore I’ve updated my Nagios plugin for checking used disk space on Linux servers to take decimals of percent (ex. 98.5%). I also made some beauty changes to how the plugin presents data to Nagios to show used disk space in present and available space in GB, both with two decimals.
During this upgrade of the plugin I realized one good thing and one not so good thing. The not so good thing is that snmpdf doesn’t seem to consider the reserved file system area in Unix/Linux systems with the result that it shows more available space and therefore also a lower percentage value than a regular df does.
On the positive side is that the plugin works perfectly fine, not just on Linux, but also on Solaris.