PDA

View Full Version : SLES11SP3: check_procs not working as expected anymore



juris_gmbh
10-Sep-2013, 15:45
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

jmozdzen
12-Sep-2013, 09:37
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

juris_gmbh
18-Sep-2013, 09:09
Hi Jens!



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.

Thanks for the address. I have reported the bug. Let's see what will happen. ;-)

Many greetings,

Stephan Seitz