Script UP:
:local CurDate [/system clock get date]
:local CurTime [/system clock get time]
:local HostName "Phalla's Phone"
:local HostIP "192.168.88.103"
:log info "$HostName $HostIP is UP"
/tool sms send usb2 "078272270" message="$HostName $HostIP is UP at $CurTime $CurDate.
Alert by Phalla...........................................!"
Script Down:
:local CurDate [/system clock get date]
:local CurTime [/system clock get time]
:local HostName "Phalla's Phone"
:local HostIP "192.168.88.103"
:log info "$HostName $HostIP is Down"
/tool sms send usb2 "078272270" message="$HostName $HostIP is Down at $CurTime $CurDate.
Alert by Phalla...........................................!"
3 comments
Write commentsExcellent Working Like A Charm!
ReplyDear Sir,
ReplyThanks for your great video.
I have set this and work best but some times SMS are not sending from router. If you check port status so PPP out2 in Used by coloumn is blinking it is not get steady.
If I remove and reconnect USB modem so it is not working.
I think I should have to reboot my router so this will work .
I want to know what is this problem and how to solve it?
Waiting for your valuable reply
Regards,
Ashish
Hi
Replycan send sms to multiple phone numbers?
EmoticonEmoticon