Count timed out pings

I have been using ping average script but this does not allow in the calculation of the average figure - pings that have timed out,
So it is possible to count timed out pings.

Hi.

You can use this

:global pingip
:set pingip [/ping 8.8.8.8 count=10]

ping pingip will return a global value, the difference between 10 ( total pings) will be timeout pings

Regards.

@gustavomam Many thanks for your reply, I took a different approach where the script states “ping sent=200” and then it counts received and this along with average figure, etc is listed in my email

:local re
:local relo
:set relo value=200
/tool flood-ping $rte count=200 size=56 do={
:set avgping value=$(“avg-rtt”)
:set re value=$(“received”)
}

AP SSID: Client Identity: 14:52:00: may/20/2017: ping avg: 295-ms Sent:200 Received:20 SNR: 54 Signal: -62 Noise: -116