I found I needed to pass the -w 10 option to the linux pinger to stop the occasional ping hang. Check the ping man page for more details.
Dave ----- Original Message ----- From: "Takumi Yamane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 23, 2004 8:22 AM Subject: [mrtg] Re: Passing Ping options while using mrtg-ping-probe > Hi, > > On Thu, 22 Jan 2004 14:34:38 -0500, [EMAIL PROTECTED] wrote > in <[EMAIL PROTECTED] > com>: > > Can anyone tell me how to pass options to the ping command while > > using mrtg-ping-probe? > ... > > I am trying to limit the timeout between each ping so that > > The script accepts "-t" option as timeout value. > > A line from my working config file is like this: > Target[ping-target]: `mrtg-ping-probe -k 3 -t 10 -s target` > > But I'm not sure if it's really working, since the script sometimes > hungs up forever and requires force termination :) > # I'm currently using v2.3 of the script with a *little* modification, > # it didn't work correctly on my Linux box. > > -- > Takumi Yamane <[EMAIL PROTECTED]> > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
