Page 1 of 1

Netwatch via sms

Posted: Fri Sep 26, 2014 3:40 pm
by rehankhanraza
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

Re: Netwatch via sms

Posted: Fri Sep 26, 2014 4:39 pm
by mishaM
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"