Nagios check_proc Plugin Fails

Using version 1.4.2 of nagios_plugins on some versions of linux can result in errors from the Process Check Plugin. You will see the following error ....

"System call sent warnings to stderr"

The problem is due to differences in the way the ps command uses switches.
Modifying source to take out the "-" in referenced code for PS_COMMAND and rebuilding does the trick.

You can find a patched binary here.
check_procs_fixed.tar

The bug should be fixed in newer versions so this should not be necessary down the track.


other Linux Related Tips...