[MacPorts] #22077: mrtg-ping-probe doesn't calculate packet loss correctly on Darwin

MacPorts noreply at macports.org
Wed Oct 14 20:41:10 PDT 2009


#22077: mrtg-ping-probe doesn't calculate packet loss correctly on Darwin
------------------------------------+---------------------------------------
 Reporter:  msantos@…               |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.1                                
 Keywords:                          |        Port:  mrtg-ping-probe                      
------------------------------------+---------------------------------------

Comment(by msantos@…):

 With the modified version, output looks like:


 {{{
 $ mrtg-ping-probe -p loss/loss 10.0.42.2
 mrtg-ping-probe: ERROR: Could not find ping summary for 10.0.42.2
 mrtg-ping-probe: INFO: The output of the ping command /sbin/ping -s 56 -c
 10 10.0.42.2 was:
 ping: sendto: No route to host
 ping: sendto: Host is down
 ping: sendto: Host is down
 ping: sendto: Host is down
 ping: sendto: Host is down
 ping: sendto: Host is down
 PING 10.0.42.2 (10.0.42.2): 56 data bytes
 Request timeout for icmp_seq 0
 Request timeout for icmp_seq 1
 Request timeout for icmp_seq 2
 Request timeout for icmp_seq 3
 Request timeout for icmp_seq 4
 Request timeout for icmp_seq 5
 Request timeout for icmp_seq 6
 Request timeout for icmp_seq 7
 Request timeout for icmp_seq 8

 --- 10.0.42.2 ping statistics ---
 10 packets transmitted, 0 packets received, 100.0% packet loss

 100
 100
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22077#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list