Consider an unreachable IP address (10.99.99.99) and script sentence to return TRUE if actually unreachable :
Code: Select all
[admin@mtk-V6] > :put ([/ping count=4 address=10.99.99.99]=0)
true
[admin@mtk-V7] > :put ([/ping count=4 address=10.99.99.99]=0)
false
Workaround :
Code: Select all
[admin@mtk-V7] > :put (!([/ping count=4 address=10.99.99.99]>0))
true
If V6 behavior cannot be restored, it means a lot of watchdog scripts needs fixing.