Hi guys,
Im need some help over here, im creating a script that checks if one interface has connectivity or not, for this ill ping one IP (for example 8.8.8.8 from google) with a specific interface (ether1 thefore ppp-3g). The problem is only /ping is capable to try pings with a specific interface, but i cant get the latency from there, i know that flood-ping is possible, but flood-ping im not able to use a specific interface.
Ive tryed somehing like that
:local broadband;
:local mobile;
:if ( [/ping address=8.8.8.8 interface=ether1-wan1 count=5]>=3 ) do={
:set broadband $"avg-rtt"
}
:if ( [/ping address=8.8.8.8 interface=ppp-3g count=5]>=3 ) do={
:set mobile $"avg-rtt"
}
Unfortunalety it does not work, can anyone help me out?
Thanks,
Regards,
Diego Ramos