[mrtg] Re: Passing Ping options while using mrtg-ping-probe

Peter W. Osel pwo at Infineon.COM
Thu Jan 22 21:06:32 MET 2004


> *** evans.mj.1 at pg.com <evans.mj.1 at pg.com>
> *** [2004-01-22 11:58:14]:
> Can anyone tell me how to pass options to the ping command while using 
> mrtg-ping-probe?

Mike,
you can use mrt-ping-probes's option '-o' to pass options to the ping
program.

     -o ping_options
             Pass ping_options to the ping program.  You can use
             this generic option to e.g. pass an option to ping
             to suppress displaying addresses as host names.
             This helps to prevent the ping to fail because it
             cannot map hostnames to IP addresses and vice versa.
             To pass several arguments, enclose the options in
             quotes.  Check the documentation of your ping
             program for possible options.

for example,

     mrtg-ping-probe -o -n ricochet.pwo.de
         Suppress displaying addresses as host names on Solaris 2
         (to protect from DNS problems causing the ping to fail)
         by passing option -n to the ping program.

         Note that in this example `-n' is not an option for
         mrtg-ping-probe, but gets passed to the ping program.


option -o is supported since release 1.9.0 of mrtg-ping-probe,
released 1999-01-01

The latest version can always be found at
http://intra-dc.sjc.infineon.com/~pwo/projects/mrtg/
ftp://ftp.pwo.de/pub/pwo/mrtg/mrtg-ping-probe/


Hipe this helps

	--pwo


--
Peter W. Osel                   Principal - Development Systems
Infineon Technologies           Email: pwo at Infineon.COM
North America Corp.             Phone: +1 (408) 501 6321
1730 North First Street         Fax:   +1 (408) 501 2410
San Jose, CA 95112, USA         WWW:   http://pwo.de/

pgp key fingerprint = 79 2D DD 49 C0 AA D8 CF  2C F9 A5 6A BA 37 0E 28

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list