I am trying to graph the ping time from the CPE to the AP. I am installing this script on the CPE and having it ping the gateway. The script seems to always take the first floodping result.. which is usally a 0
[admin@MntRobAP] /tool> :local "max-rtt"; /tool flood-ping 66.xxx.xxx.4 count 10 do={ :put [$"max-rtt"]}
0
sent: 1
sent: 10
received: 10
min-rtt: 12
avg-rtt: 15
max-rtt: 23
Since I am looking for max-rrt I should get a 23, but you can see it returns a 0.
Is there any way to tell the script to wait for the floodping command to end before getting the value?
or is there some other way to get ping stats.
thanks!