I want to do something like that. Dude starts using putty and I connect via ssh to mikrotik by which I can send text messages. In "execute on server" I wrote something like this:
"putty user@ip-pw pass"
How can I now add the following command to have been made for the above machine:
/tool sms send usb2 "com" message = "xxxxx"
Sorry to awake a year old thread, but I thought it may be useful for others.
I have a gsm device connected with Mirkotik , and DUDE is installed on Windows base PC x86 (for send and receive purposes) , now i want to send dude sms notifications via mikrotik. download plink and use the following syntax.
c:\temp\plink.exe -ssh -l admin -pw YOURPASS 192.168.1.1 "/tool sms send phone-number=03333021909 usb3 message=[Probe.Name]_on_[Device.Name]_is_now__[Service.Status]"
Make sure yoru device name and message have no BLANK SPACES in it, thats why I used _
It took me 3-4 hours just to figure out that spaces were not supported or create problems with  or ().
hope this will help some one
http://aacable.wordpress.com/2013/11/02 ... ification/