check_ping and warning/critical alerts
Posted: Wed Sep 16, 2015 12:31 pm
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!
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!