Community discussions

MikroTik App
 
timwillis
just joined
Topic Author
Posts: 4
Joined: Sat Aug 08, 2009 6:10 pm

Script to get satus of route

Mon May 01, 2023 2:38 pm

HI, I am looking for a method to determine if a static route gateway is reacable or unreachable. I am trying to monitor state of a gateway that has a /30 address, so no other easy to check status.

something like this: but one that does work.
:set RouteStatus (get [/ip route [find comment=RouteToCheck] gateway-status])

I have found topics all around this, but not able to find a solution.

Thanks for any help.

Tim

Who is online

Users browsing this forum: No registered users and 15 guests