I’m running v 1.4 of check_nwstat. It seems to figure out the totals right, but the percentages are way off. Additionally, it does not seem to flag ‘critical’ or ‘warning’ when appropriate.
Here’s an example:
[root@nagios etc]# …/libexec/check_nwstat -H 10.1.1.5 -w 80 -c 95 -v VPFVOL1
0 MB (2147483648%) free on volume VOL1
The zero MB is spot on, but as you can see, the percentage is very wrong, and it didn’t throw a ‘critical’ flag.
Is there a more recent version, and/or is there something amiss with my syntax?