Problem with check_nrpe!check_total_procs and check_nrpe!che


Hello everyone…

On my other server i have gotten nrpe to work fine with all the plugins so far,. however on this one particular server im having issues with the output of check_total_procs and check_zombie_procs

from my nrpe.cfg

command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200

the commands run but they output a weird error:

/usr/local/nagios/libexec/check_procs -w 150 -c 200
System call sent warnings to stderr
PROCS WARNING: 65 processes

/usr/local/nagios/libexec/check_procs -w 150 -c 200 -s Z
System call sent warnings to stderr
PROCS WARNING: 0 processes with STATE = Z

as you can see the first line of output is the warning:

“System call sent warnings to stderr”

so nagios never gets the results its expecting and the results lead to the services being in an unknown state,…

has anyone come accross this before,. or does anyone have any advice?

jakkedup ? :stuck_out_tongue:


This one is broke for me and gets the same as yours.
[root@tia2665 plugins]# ./check_procs --help
check_procs (nagios-plugins 1.4) 1.43

But this one works just fine:
[root@tia2665 libexec]# ./check_procs --help
check_procs (nagios-plugins 1.4.0alpha1) 1.24

So get yourself a newer plugin. … nagext_pi1[p_view]=32


dude, your fucken awesome. thanks