Page 1 of 1

Got warning not match in threshold check processes plugin

Posted: Fri Sep 07, 2018 3:46 am
by dimsum
Hi,

I have monitoring linux processes a threshold is w=200 and c=250 but I got the email alert warning in 162 total of processes. please see the attached pictures. What happen about a alerting?

Thank you.

Re: Got warning not match in threshold check processes plugi

Posted: Fri Sep 07, 2018 12:21 pm
by tgriep
I would check the nrpe.cfg file on that remote host and verify that the check_total_proces command does not have the thresholds hard coded.
If they are, it would look like this.

Code: Select all

command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
To allow Arguments for the command, you would have to change the command to the following

Code: Select all

command[check_total_procs]=/usr/local/nagios/libexec/check_procs $ARG1$
And if the

Code: Select all

dont_blame_nrpe=0
is set to zero, you will have to change it to

Code: Select all

dont_blame_nrpe=1
Save the nrpe.cfg file and restart the agent.
That will allow that command to receive the arguments from the Nagios server and should fix the issue for you.