hello there,
my healthcheck for the primary line is rip routingbased.
that means i receive a route (tracking route) if this route is present "primary is up"
if the route is not there the primary is failed.
i tried to do some scripting. (i am not a good scripter i guess)
may someone can helping me here?:
:local ripv2track [/ip route get [/ip route find rip] value-name=dst-address ];
:if ($ripv2track="empty") do={something} etc
how can i compare variables which are empty ? means nothing set? because route is not there?
or maybe someone from you do have already something like this in place and may can share me his script?
thank you!
christian