Dude - SMS notification through smspilot.ru on Windows.
Requirements:
1. Mikrotik Routerboard with USB modem.
2. Dude client on windows machine.
3. Plink.
Setup instruction
1. Create user for sending SMS on ROS:
login via ssh = ssh
send sms = ssh, test
Code: Select all
/user group add name=sms-send policy=ssh,test
/user add name=sms-sender password="********" group=sms-send
# /user add name=sms-sender password="********" group=sms-send address=192.168.1.2
Code: Select all
C:\Program Files (x86)\Dude\smssend
3. In directory from p. 2 create sms-send-plink.cmd file with the following content:
Code: Select all
::
:: Send SMS notifications from Dude via plink
::
set "plinkdir=C:\Program Files (x86)\Dude\smssend"
set host=192.168.1.1
set port=22
set username=sms-sender
set password=********
set usbport=usb1
set phonenumber=xxxxxxxx
set "command=/tool sms send phone-number="%phonenumber%" %usbport% message="%1""
::
"%plinkdir%\plink.exe" %host% -P %port% -l %username% -pw %password% "%command%"
::
4. Create new Notification
Name: SMS-send-plink
Type: execute locally
Code: Select all
"C:\Program Files (x86)\Dude\smssend\sms-send-plink.cmd" "Service [Probe.Name] on [Device.Name] is now [Service.Status]"
5. Now you can use it:
Related forum topics
SMS send by Dude
The dude and sms
using Plink as notification
DUDE SMS ALERT
SMS notification again... I'm stuck...
Dude sending SMS on RouterOS
Related Wiki topics
Manual:Tools/Sms
Monitoring Network thru SMS Alerts
Hope this will help someone.