From: Jaap H. <jaa...@ma...> - 2004-07-23 16:49:21
|
Garry, I still believe that this does not solve the issue of how to handle lower tresholds in perfparse, so I decided to take the different approach, I wrote a script that does filesystem checks using the "used" disk capacity as opposed to the amount of free capacity, thus solving the issue. It's a shell script that is not fool proof, and will only do one filesystem, but it works for me :-) I've attached it for those of you who are interested. Regards, Jaap On Thu, 2004-07-22 at 21:59, Cook, Garry wrote: > Attached is a 'fixed' check_disk.c. Just drop it in the plugin source > directory and re-make, then copy the binary over to nagios/libexec. > Works great on my system, I just needed to reverse the perfdata > output. You may want to backup your original check_disk.c and > check_disk just in case... > -g |