eworm-de / routeros-scripts

a collection of scripts for MikroTik RouterOS
GNU General Public License v3.0
1.27k stars 285 forks source link

How use script s with Netwatch ? #26

Closed Jason-MK closed 2 years ago

Jason-MK commented 2 years ago

Hello ,

I want to know how to use the scripts with Netwatch ?

I mean should I write the script ? there are no free scripts ?

I mean I want to have a script to send me a message where any GRE Tunnel is down for 1 second ?

I really need your help

Best Regards

eworm-de commented 2 years ago

Wait... What?! You want to act if a GRE tunnel is down for just a single second? Not sure this is a good idea...

I have a scripts to Notify on host up and down (and optionally run hooks/scripts), but the basic idea is to have a state machine to delay actions and mitigate false positives.

As I have nothing appropriate and you already opened a thread on forums... Closing.

Jason-MK commented 2 years ago

Hello @eworm-de

I want to know just an answer for a simple question ,

So all what I need to install the script or copy it to the scripts but then how do I added one of the hosts ?

best regards

eworm-de commented 2 years ago

You need to read the documentation.

taahgraham commented 1 year ago

You would be looking for a simple icmp script, point it at the default gateway of remote end-point 👍

On Fri, Jul 8, 2022 at 3:46 PM, Jason-MK @.***> wrote:

Hello ,

I want to know how to use the scripts with Netwatch ?

I mean should I write the script ? there are no free scripts ?

I mean I want to have a script to send me a message where any GRE Tunnel is down for 1 second ?

I really need your help

Best Regards

— Reply to this email directly, view it on GitHub https://github.com/eworm-de/routeros-scripts/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUNWRPLIWD4BM3T3OEBATTTVTAWJZANCNFSM53BBRZKQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>