Community discussions

MikroTik App
 
rehankhanraza
just joined
Topic Author
Posts: 7
Joined: Tue Feb 05, 2013 10:31 am

Netwatch via sms

Fri Sep 26, 2014 3:40 pm

hi please give me support to configure netwatch via sms . i want to get sms when my neighbor down i have router RB2011UiAS-RM please help me
 
User avatar
mishaM
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Sun Oct 25, 2009 1:48 pm
Location: Georgia

Re: Netwatch via sms

Fri Sep 26, 2014 4:39 pm

sms with android phone , install sms gateway https://play.google.com/store/apps/deta ... smsgateway
connect your phone with wifi or with ethernet (use usb ethernet adapter ) to routeros . exemple yor gateway url is http://172.16.0.100:9090 , so GET url will be http://172.16.0.100:9090/sendsms?phone=994411&text=some text

next add netwatch command : example
/tool netwatch add disabled=no down-script="/tool fetch url=\"http://172.16.0.100:9090/sendsms?phone=994411&text=Link-is-DOWN\"  mode=http" host=8.8.8.8 \
    up-script=\"http://172.16.0.100:9090/sendsms?phone=994411&text=Link-is-UP\" mode=http"

Who is online

Users browsing this forum: Gadulowaty, PJIUPJIU and 70 guests