SLES11SP3: check_procs not working as expected anymore

Hi!

After a server update from SLES11 SP2 to SP3 our nagios server was giving us a red light saying that one process on the updated server was not running anymore.

The check is done via NRPE using the command /usr/lib/nagios/plugins/check_procs -c 1: -w 1: -a “-Dapp=jportal”. Calling the command from the CLI on the updated server I get the expected result (1 process is running). If I use the old check_procs from SP2 the NRPE call is working again.

After some tests I’ve found that I get the expected result via NRPE as well using the command env COLUMNS=500 /usr/lib/nagios/plugins/check_procs -c 1: -w 1: -a “-Dapp=jportal”.

So I guess that the new check_procs has a bug and is not setting the COLUMNS variable big enough for its ps call to get the complete process output from ps.

An updated version of check_procs is much appreciated.

Many greetings,

Stephan

Hi Stephan,

have you already reported this via http://support.novell.com/additional/bugreport.html?sourceidint=suplnav4a_bug ? As this is for cases that are not covered by a support plan, you will probably not receive a reply, but I’ve reported issues that way before, and they got fixed.

Regards,

Jens

Hi Jens!

[QUOTE=jmozdzen;16221]
have you already reported this via http://support.novell.com/additional/bugreport.html?sourceidint=suplnav4a_bug ? As this is for cases that are not covered by a support plan, you will probably not receive a reply, but I’ve reported issues that way before, and they got fixed.[/QUOTE]

Thanks for the address. I have reported the bug. Let’s see what will happen. :wink:

Many greetings,

Stephan Seitz