Community discussions

MikroTik App

Search found 9 matches

by kcavery001
Tue Feb 23, 2021 9:17 am
Forum: Scripting
Topic: Netwatch to disable a static route
Replies: 5
Views: 3833

Re: Netwatch to disable a static route

/interface monitor-traffic ether1 once do={ :if ($"received-bits-per-second" = 1000000) do={ < send sms> } } f received byte per second=1 Mbps of ether1 So you need mega BITS or BYTES? If bytes then you will also have to convert received-bits-per-second to bytes nad then compare Sir what ...
by kcavery001
Tue Feb 23, 2021 9:15 am
Forum: Scripting
Topic: GSM modem to send sms when highsight down?
Replies: 9
Views: 5592

Re: GSM modem to send sms when highsight down?

Hi -headstrong- I use net Netwhatch to send sms when highsight is down or up, to do this set your host IP Address and intervals to 00:05:00 , timeout to 5000 Add this to Down section: :log info "*************************" :log info "* --- High sight One Down --- *" :log info &qu...
by kcavery001
Tue Feb 23, 2021 9:14 am
Forum: General
Topic: Netwatch: sms thru https ?
Replies: 5
Views: 1698

Re: Netwatch: sms thru https ?

maybe you can use Fetch tool ? http://wiki.mikrotik.com/wiki/Fetch
Sir what if ISP has high ping and/or slow internet connection and not totally down. how to send also notification via sms sir?
by kcavery001
Tue Feb 23, 2021 9:11 am
Forum: Scripting
Topic: Ping fail + ping fail + send sms
Replies: 7
Views: 6283

Re: Ping fail + ping fail + send sms

Create a schedule in System > Scheduler to run every 30s with the following script. :local result [/ping 192.168.88.1 count=3] :global status :if ($result = 3 && $status != true) do={ /tool sms send message="link up" phone-number=12345 :set status true } else={ :if ($result = 0 &a...
by kcavery001
Tue Feb 23, 2021 9:08 am
Forum: General
Topic: Netwatch script
Replies: 14
Views: 4559

Re: Netwatch script

You could either use netwatch or just look through the dhcp leases and ping them. I have two scripts that do a lot of that... Sent from my SCH-I545 using Tapatalk Looking at my scripts I could most likely merge them and do what your looking for... would have to be on a recent version of RouterOS so...
by kcavery001
Tue Feb 23, 2021 9:00 am
Forum: Scripting
Topic: SMS PING ALERT
Replies: 3
Views: 6720

Re: SMS PING ALERT

ping to what? you can use netwatch tool and configure up n down scripts as required. or use separate scripts for more customized control and send sms as required. Few scripts for your reference. Script#1, to send alert when WAN goes down. # WAN 1 Monitor Script for mikrotik by using two internet ho...
by kcavery001
Mon Feb 22, 2021 10:18 am
Forum: General
Topic: sms notification
Replies: 0
Views: 375

sms notification

Hi newbie here. . .
Just asking solution on how to send sms notification if the ISP has high latency or ping and/or slow connection? but not totally down. .
I want also to get notified if the ISP has high ping

PS: I've done already sms notification when ISP is DOWN
by kcavery001
Mon Feb 22, 2021 9:57 am
Forum: Scripting
Topic: Auto SMS sending script doesn't work properly
Replies: 5
Views: 3882

Re: Auto SMS sending script doesn't work properly

because this loop is to fast and work like send all sms in one 1s... you must do some delay between sms.
how to sir? I also need this script. Thank you
by kcavery001
Mon Feb 22, 2021 9:55 am
Forum: Scripting
Topic: SMS Script for Internet down
Replies: 5
Views: 2839

Re: SMS Script for Internet down

How to send also sms if the ISP has high ping and has slow internet connection and/or not totally down?