[Nagiosplug-help] check_ping problem

Mike Feetham mike.feetham at percepta-crm.com
Tue Nov 2 08:18:35 CET 2004


Brian,

I'm having the exact same issue (SuSE Enterprise).  If enough of the
check_ping commands build up they will stop other checks from processing to
the point where Nagios will start alerting you that EVERYTHING is down.  I
have tried explicitly specifying timeouts for the ping command but that
doesn't seem to help.  If I find any more information I will post it.

Anyone else having this issue?

p.s. In the mean time, I wrote a quick script to kill large groups these
pings.  Run the script with the IP or FQDN (whichever is used with the ping
command) to wipe out all check_ping instances for that object.

i.e.  if I run ps -ef | grep nagios (to list all processes run by the
Nagios) and a large number of these Check_ping commands come up for IP
10.10.10.2, then I would run the script:   ./kill-ping.sh 10.10.10.2



#!/bin/sh
for i in `ps -ef|grep $1 |grep -v grep|awk '{print $2}'`
{
 kill $i
 echo "Kill $i\007 !! Bye Bye :-)\n"
}
#exit 0


Mike Feetham 







More information about the Help mailing list