Page 1 of 1

check_ping and warning/critical alerts

Posted: Wed Sep 16, 2015 12:31 pm
by derekb
Hi there,




I have a number of remote devices that we are monitoring with NRPE. We have these remote nodes set to use the following command in nrpe.cfg:
command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w 40,5% -c 75,15%

From the XI interface, we’re using check_nrpe to run the remote command 3 times, 5 minutes between intervals. Again, this all works fine.

What I’m trying to accomplish is the following:
Check ping to the device IP specified in $ARG1$. If the first ping fails, device state would change to WARNING. Second attempt fails, WARNING. 3rd attempt fails, device state goes to CRITICAL.

How can we accomplish this?

We’re trying to eliminate unnecessary alerts, as a number of the remote nodes we’re monitoring via NRPE have very poor/unstable DSL connections which is leading to us getting a HUGE amount of false ‘Critical’ notifications. Perhaps something with flap detection may help?

Please let me know, thank you!

Re: check_ping and warning/critical alerts

Posted: Wed Sep 16, 2015 4:56 pm
by hsmith
Hello -

It seems we have received a support ticket as well as this forum post. Would you like to continue support in the ticket or on the forums? If we have this open in both spots we end up wasting your time by asking you to do the same thing someone else may have already done in the other thread.

Re: check_ping and warning/critical alerts

Posted: Wed Sep 16, 2015 4:59 pm
by derekb
Whatever is quicker ! :)

Re: check_ping and warning/critical alerts

Posted: Wed Sep 16, 2015 5:03 pm
by hsmith
Hi Derek,

I am going to close this thread and we can focus on the ticket, since it is already open and sitting in our queue.

Thanks!