Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jun 25, 2019 4:50 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Advanced ping template packet loss
PostPosted: Thu Nov 15, 2018 4:49 am 
Offline
Cacti User

Joined: Fri Feb 10, 2017 12:41 pm
Posts: 125
Hi!
I'm using the advanced ping template.
At some devices, there is a packet loss, but I can't understand why:

Code:
[email protected]:/usr/share/cacti/site/scripts# ping -c 10 x.x.x.x
PING 134.76.24.159 (134.76.24.159) 56(84) bytes of data.
64 bytes from x.x.x.x: icmp_seq=1 ttl=57 time=10.7 ms
64 bytes from x.x.x.x: icmp_seq=2 ttl=57 time=10.6 ms
64 bytes from x.x.x.x: icmp_seq=3 ttl=57 time=10.9 ms
64 bytes from x.x.x.x: icmp_seq=4 ttl=57 time=10.8 ms
64 bytes from x.x.x.x: icmp_seq=5 ttl=57 time=11.0 ms
64 bytes from x.x.x.x: icmp_seq=6 ttl=57 time=10.6 ms
64 bytes from x.x.x.x: icmp_seq=7 ttl=57 time=10.5 ms
64 bytes from x.x.x.x: icmp_seq=8 ttl=57 time=11.0 ms
64 bytes from x.x.x.x: icmp_seq=9 ttl=57 time=10.7 ms
64 bytes from x.x.x.x: icmp_seq=10 ttl=57 time=11.1 ms


When I do a normal ping, there isn't any packet loss.


Code:
[email protected]:/usr/share/cacti/site/scripts# php ss_fping.php x.x.x.x 10 ICMP
min:10.5960 avg:10.8790 max:11.2420 dev:0.2112 loss:30.0000


With the php file, I have 30% packet loss.

Can someone help me?


Top
 Profile  
 
 Post subject: Re: Advanced ping template packet loss
PostPosted: Thu Nov 15, 2018 6:53 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
When you are using ping at the command line, try using the -O parameter to see if there are outstanding ECHO requests before sending the next packet. Out of sequence requests can be treated as loss by some systems (though I can't say specifically for this template/script/system).

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group