[Nagiosplug-devel] [ nagiosplug-Bugs-870548 ] Plugin 1.4.0a1 -> /bin/ping does not terminate

SourceForge.net noreply at sourceforge.net
Sun Jan 4 13:56:01 CET 2004


Bugs item #870548, was opened at 2004-01-04 21:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=870548&group_id=29880

Category: Argument proccessing
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Christian Exner (banane2000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Plugin 1.4.0a1 -> /bin/ping does not terminate

Initial Comment:
On our system (Suse 8.1, Nagios 2.0a1, Plugins 1.4.0a1) 
i've detected about 400+ /bin/ping processes going all to 
only 2 IP-addresses (yes... only if the failure takes a 
long time but our failures often takes the whole weekend 
if the german Telekom cuts the DSL-Line of one of our 
external offices...).

It seems that check_ping calls "/bin/ping -n -U -c 5 
x.x.x.x" for checking. If pinged host is not 
reacheable /bin/ping does not terminate for a very long 
time (maybe until the failed host answers again). 
check_ping terminates after 10 secs. This is also 
documented in nagios web interface. But 
corresponding /bin/ping process stays active.

Maybe it would help to pass "-w" (deadline) parameter 
to /bin/ping to force a termination after some time in 
such a case.


Chris


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=870548&group_id=29880




More information about the Devel mailing list