Dude's ping function rtt differs from command line ping rtt

I monitor the ping round trip time from the Dude 3.4 server to ip address 10.5.5.55

There seems to be a 5/6ms difference between the Dude’s ping and a ping from the Windows command prompt.
Windows ping reports a steady 21-22ms rtt, Dude reports a steady 15ms.

Any thoughts where the difference is coming from?

the difference is minimal.

Sounds like The Dude is more efficient than Windows !! :smiley:

Yes sure looks like that :smiley: , but in networking and computing it isn’t, have seen applications perform significantly poorer when 5ms latency was added to the rtt

If I ping another site (60 miles away) Windows ping reports 4ms rtt, Dude reports 0ms rtt (wish for that 0ms to be true), so looks to me there is something not adding up in the Dude’s Ping function

On 2k3 sp2 pings are usually way higher than reality.
There is no way that bocofps1 is 30 ms away. It is Gigabit Ether channel connected.
Interestingly enough bocofps2 is 0ms away… They are on the same switch.
ping.PNG
ping1.PNG
year.PNG
It has never been more than 1ms away but over the year the dude is crazy :slight_smile:

Maybe the next version will fix this.
SD

Thanks SD, giving up on the ping function for now

Created a ping program which returns the right rtt value.
Now trying to fit that in a function.

Hello all,

would it be possible to get the code for that ping probe.
I have been trying to create a probe showing the rtt but I am quite new to this and not very successfull as yet.

An example would be welcome.

Cheers.

Here is the code to add to a function;
array_element(ping(device_property(“FirstAddress”)),0)
You can call the function by name in a probe…

Hi Lebowski,

thanks for the reply… I actually did find out my error.
I was getting a “parse error” all the time and was wondering why, actually it’s because I forgot to put “” (empty string) in the error field.

I can now see the RTT alright!

thanks very much for your input.

Alex.

Good news! :slight_smile:

Can anyone tell me how to graph ping multiple devices on a single graph?
which function to use?

Either add a bunch of devices to a chart or manually build different ping probes with the IP address specified for the target and add them all to one device. Chart would be easier.

Please help me a bit,
i added this in “Function” with name RTT

Now what have to do in “Probes”? There are some blank rows to fill like Available, Error, Value, Unit… and…

Create a new probe, give it a name, select type function.
In available put your RTT function or call the function directly like below.
Do the same thing for error and value. Value is what is graphed.
I just took a guess as to how yours should look.

Available: RTT()<>“”
error: if (RTT()< 120,“”,“high latency”)
value: RTT()
unit:ms
HighLatency - Probe_2011-05-16_10-35-54.png