VMware Cloud Community
tuxman_hyperic
Contributor
Contributor

Ping Reports seem to be wrong

Hey all,

I might be right out in left field but has anyone noticed that the ping reports are essentially wrong..

say for example I ping one of my remote sites 3 times.. I get this.

PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=254 time=40.3 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=254 time=40.7 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=254 time=40.9 ms

--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 40.387/40.698/40.914/0.324 ms


BUT the table in Hyperic shows somewhere around 2sec ..
I'm assuming its using the over time rather than the real ping times.

Has anyone seen this before ? any ideas how to fix it.. it really skews your views of a ping report when it's showing 2sec which normally would cause me to loose quite a bit of sleep 🙂

Thanks

Dave
0 Kudos
3 Replies
excowboy
Virtuoso
Virtuoso

Hi tuxman,

the answer is inside your text:
3 packets transmitted, 3 received, 0% packet loss, time 1998ms

HQ reports the duration time of the check, so if you configure the check to send 3 packet it takes about 2 sec, 6 packets maybe 5 sec and so on.

Cheers,
Mirko
0 Kudos
tuxman_hyperic
Contributor
Contributor

Ya.. that's what I was thinking was happening, so really it's not very usefull as a latency test/tracker. Is there any other addon or does anyone have any other ways of monitoring latency ?
0 Kudos
roger_symonds
Enthusiast
Enthusiast

It would be pretty easy to write a script plugin to do this (based on the ping plugin). This way you could average the response times in the script (Windows bat file, or *nix shell script) and plot this value.

Script Plugin: http://support.hyperic.com/confluence/display/DOCSHQ30/Script+Plugin
Ping Plugin: http://support.hyperic.com/confluence/display/hypcomm/Ping-Plugin+Howto

Let me know if you need a hand,
Roger
0 Kudos