[mrtg] Re: [PWO] RE: Re: mrtg-ping-probe problems ?!?

Peter W. Osel pwo at Infineon.COM
Tue Jan 29 19:31:06 MET 2002


>>>>> On Tue, Jan 29, 2002 at 07:24:14PM +0100, "" == anonymous at sol.dk <anonymous at sol.dk> wrote:
> Im am using numbers, so i couldnt be using our DNSserver
> /home/progs/mrtg-2.9.7/bin/mrtg-ping-probe -t 42 -p loss/loss 10.250.1.167

ping will still try to map the IP# to a name (at least on Solris):

ping -s 172.19.156.128
PING 172.19.156.128: 56 data bytes
64 bytes from rubycon (172.19.156.128): icmp_seq=0. time=0. ms
64 bytes from rubycon (172.19.156.128): icmp_seq=1. time=0. ms
^C
----172.19.156.128 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0


See how ping does print the name "rubycon"

If I use the option -n for ping, it does not lookup the IP#:

ping -ns 172.19.156.128
PING 172.19.156.128 (172.19.156.128): 56 data bytes
64 bytes from 172.19.156.128: icmp_seq=0. time=1. ms
64 bytes from 172.19.156.128: icmp_seq=1. time=0. ms
64 bytes from 172.19.156.128: icmp_seq=2. time=0. ms
^C
----172.19.156.128 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/1


Cheers
	--pwo


[Slogan of the moment]
>>>>> And Now For Something Completely Different ...

Die Lage ist hoffnungslos -- aber nicht ernst.


--
Peter W. Osel                   Sr. Network & Systems Manager
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