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!
check_ping and warning/critical alerts
Re: check_ping and warning/critical alerts
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.
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.
Former Nagios Employee.
me.
me.
Re: check_ping and warning/critical alerts
Whatever is quicker ! 
Re: check_ping and warning/critical alerts
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!
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!
Former Nagios Employee.
me.
me.