Community discussions

MikroTik App

Search found 55 matches: SMS execute

Searched query: sms execute

by stmx38
Sat Apr 02, 2022 6:33 pm
Forum: The Dude
Topic: Dude notifications, execute on server, ssh
Replies: 5
Views: 9806

Re: Dude notifications, execute on server, ssh

... on ROS from Dude, and script can then SSH to the remote server and execute required commands. We also can pass variables from Dude to the script. ... is now [Service.Status]" # Run script system script run sms ROS script # Define subject :global notificationtext "$notificationtext" ...
by stmx38
Fri Mar 18, 2022 2:49 am
Forum: The Dude
Topic: Dude v6 - SMS notifications through another ROS - using ssh-exec
Replies: 4
Views: 3317

Dude v6 - SMS notifications through another ROS - using ssh-exec

Related solutions Dude v6 - SMS notifications Requirements 1. Mikrotik ROS-1 with installed Dude server 2. Mikrotik ... ROS-2 (SMS access) --> SMS recipient 1. On ROS-1 we have installed Dude 2. Dude execute a script on ROS-1 3. Script on ROS-1 uses ssh-exec to send SMS via ROS-2 which ...
by isoplayer
Tue May 15, 2018 1:05 am
Forum: The Dude
Topic: notification "execute on server" is not working when triggered by syslog receiver
Replies: 0
Views: 1573

notification "execute on server" is not working when triggered by syslog receiver

hi am using an sms gateway to get notifications , and wanted to get notified if the physical ports on ... logs on my Dude server for all routers i have. but when i use notification type "execute on server" it is not working when triggered by syslog receiver. is their a ...
by stmx38
Fri May 19, 2017 10:59 am
Forum: The Dude
Topic: Dude v6 - SMS notifications through SMS gateway - using fetch tool
Replies: 0
Views: 5048

Dude v6 - SMS notifications through SMS gateway - using fetch tool

Related solutions Dude v6 - SMS notifications Requirements 1. Mikrotik ROS with installed Dude server 2. Access ... 1. Create new Notification in Dude: Name: SMS-Notification-Gateway Type: execute on server Command: # Variables :local notificationtext "Service [Probe.Name] ...
by stmx38
Thu May 18, 2017 11:52 pm
Forum: The Dude
Topic: Dude v6 - SMS notifications through smspilot.ru - using fetch tool
Replies: 3
Views: 8342

Dude v6 - SMS notifications through smspilot.ru - using fetch tool

Related solutions Dude v6 - SMS notifications Requirements 1. Mikrotik ROS with installed Dude server. 2. Account ... 1. Create new Notification in Dude Name: SMS-Notification-smspilot.ru Type: execute on server Command: # Variables :local notificationtext "Service [Probe.Name] ...
by stmx38
Thu May 18, 2017 10:01 pm
Forum: The Dude
Topic: Dude v6 - SMS notifications trough USB modem on ROS - using sms tool
Replies: 2
Views: 5733

Dude v6 - SMS notifications trough USB modem on ROS - using sms tool

Related solutions [/color] Dude v6 - SMS notifications Requirements 1. Mikrotik ROS with installed Dude server 2. USB ... instruction 1. Create new Notification in Dude Name: SMS-Notification Type: execute on server Command: # Variables :local notificationtext "Service [Probe.Name] ...
by krisjanis
Wed May 10, 2017 9:57 am
Forum: The Dude
Topic: Dude SMS Notifications
Replies: 5
Views: 3842

Re: Dude SMS Notifications

Yes. A while ago new notification type "execute on server" was added. Which allows you to write ROS scripts in there to use various tools on host device side. That includes option to send sms that way.
by krisjanis
Mon Sep 26, 2016 10:07 am
Forum: The Dude
Topic: The Dude, v6.37 [current] release.
Replies: 47
Views: 21950

The Dude, v6.37 [current] release.

... [Admin.Name] [Admin.Password] *) Added back notification type "Execute on Server". In this notification you can type in ROS script ... disconnected when the Dude server has stopped or disabled. - Sending SMS. (now that execute on server option has been added, this wont be added ...
by krisjanis
Tue Sep 06, 2016 10:45 am
Forum: The Dude
Topic: The Dude, v6.37rc test builds.
Replies: 92
Views: 30709

Re: The Dude, v6.37rc test builds.

... course e-mail is there - sorry. How long until we may see access to the SMS do you think ? We currently do this via a \Windows executable which is ... :-) It's already there for a few rc builds. Check my post on "execute on server" notification. In the v6.37rc24-27 there is a problem ...
by krisjanis
Thu Aug 25, 2016 10:35 am
Forum: The Dude
Topic: The Dude, v6.37rc test builds.
Replies: 92
Views: 30709

Re: The Dude, v6.37rc test builds.

... some client and server crashes. * Added back notification type "Execute on Server". In this notification you can type in ROS script ... host. Useful all kinds of custom notifications and actions. - Sending SMS. (now that execute on server option has been added, this wont be added ...
by stmx38
Sat Dec 12, 2015 1:28 pm
Forum: The Dude
Topic: Dude - SMS notification trough USB modem on ROS from Windows - using plink.
Replies: 0
Views: 3282

Dude - SMS notification trough USB modem on ROS from Windows - using plink.

Related solutions: Dude - SMS notification through smspilot.ru on Windows. Requirements: 1. Mikrotik Routerboard ... and phonenumber values. 4. Create new Notification Name: SMS-send-plink Type: execute locally "C:\Program Files (x86)\Dude\smssend\sms-send-plink.cmd" "Service ...
by dimsoft
Mon Dec 07, 2015 12:00 pm
Forum: The Dude
Topic: The Dude is back! v6.34rc test build released
Replies: 269
Views: 104173

Re: The Dude is back! v6.34rc test build released

... local utilities and batch files. It can run a tool that sends an SMS. You don't need an app or RouterOS support for that. How send SMS by ... on Mikrotik where you installed dude. In wiki there is an option execute on server. Why not in reality ? http://wiki.mikrotik.com/wiki/Manual:The_Dude_v6/Notifications ...
by dimsoft
Sun Dec 06, 2015 7:17 pm
Forum: The Dude
Topic: The Dude is back! v6.34rc test build released
Replies: 269
Views: 104173

Re: The Dude is back! v6.34rc test build released

how to run a command on the mikrotik ?

On windows version I use execute locally and start plink.exe for connect to mikrotik and send SMS by 3G modem

I install DUDE on CCR
How I may send SMS ?
by stmx38
Sun Jun 29, 2014 12:39 pm
Forum: The Dude
Topic: Dude - SMS notification through smspilot.ru on Windows.
Replies: 0
Views: 3969

Dude - SMS notification through smspilot.ru on Windows.

Inspired by: отправка смс с the dude Related solutions: Dude - SMS notification trough USB modem on ROS from Windows - using plink. Requirements: ... . 3. Create new Notification Name: SMS-send-smspilot.ru Type: execute on server "C:\Program Files (x86)\Dude\smssend\sms-send-smspilot.cmd" ...
by stmx38
Tue May 20, 2014 12:44 pm
Forum: The Dude
Topic: Dude - Email notifications through Gmail on Windows - via mailsend
Replies: 37
Views: 31287

Dude - Email notifications through Gmail on Windows - via mailsend

... - Email notifications through Gmail on Windows - via blat Dude v6 - SMS notifications Requirements 1. Mailsend 2. Dude server on windows machine ... smtppwd , mailto 3. Create new Notification Name: Email-mailsend Type: execute on server "C:\Program Files (x86)\Dude\mailsend\mailsend.cmd" ...
by aacable
Sat Nov 02, 2013 2:30 pm
Forum: The Dude
Topic: SMS send by Dude
Replies: 8
Views: 7519

Re: SMS send by Dude

... 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 ... the following command to have been made ​​for the above machine: /tool sms send usb2 "com" message = "xxxxx" Sorry to awake ...
by lebowski
Tue Oct 29, 2013 9:06 pm
Forum: The Dude
Topic: SMS notification again... I'm stuck...
Replies: 1
Views: 2157

Re: SMS notification again... I'm stuck...

Cant understand the question... You can search for execute to find out how to make execute work.


http://forum.mikrotik.com/search.php?ke ... mit=Search
by Twido
Mon Oct 28, 2013 5:33 pm
Forum: The Dude
Topic: SMS notification again... I'm stuck...
Replies: 1
Views: 2157

SMS notification again... I'm stuck...

... the simplest way. I have Oracle VBox with Debian 6 guest and installed sms server tools on it. I am able to execute command in linux shell like sendsms (with will send specific message on specific number ...
by Noa
Fri Jun 14, 2013 10:31 am
Forum: The Dude
Topic: Dude sending SMS on RouterOS
Replies: 6
Views: 3617

Re: Dude sending SMS on RouterOS

As i know you can`t execute command like CURL on ROS, so no.
by mysz0n
Tue Jun 11, 2013 5:19 pm
Forum: The Dude
Topic: Dude notification - execute www link ?
Replies: 7
Views: 4037

Re: Dude notification - execute www link ?

... the service is running or not. I thought that if the notifications execute a link to an external server, I would be able to store and proceed with this information (send sms, email or ignore)
by angelo18
Wed Nov 21, 2012 11:39 am
Forum: The Dude
Topic: Dude on mikrotik
Replies: 2
Views: 1993

Dude on mikrotik

I installed "Dude" on Mikrotik. Now I do not have the "execute on server" to execute the command "/ tool sms send". Is there any way to restore it?
by angelo18
Tue Nov 13, 2012 4:10 pm
Forum: The Dude
Topic: SMS send by Dude
Replies: 8
Views: 7519

Re: SMS send by Dude

Please help me. How do I connect using "DUDE" via ssh with "MT" and execute any command on it?
by angelo18
Mon Nov 12, 2012 9:17 pm
Forum: The Dude
Topic: SMS send by Dude
Replies: 8
Views: 7519

SMS send by Dude

... 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 ... the following command to have been made ​​for the above machine: /tool sms send usb2 "com" message = "xxxxx"
by EMOziko
Sat Nov 03, 2012 3:48 pm
Forum: The Dude
Topic: DUDE SMS ALERT
Replies: 24
Views: 10546

Re: DUDE SMS ALERT

Try to execute 'wget' ( http://www.gnu.org/software/wget/ ) with SMS Gateway's URL as parameter. Create notification with type 'execute on server' and command: Full path to wget ...
by ditonet
Sat Nov 03, 2012 3:07 pm
Forum: The Dude
Topic: DUDE SMS ALERT
Replies: 24
Views: 10546

Re: DUDE SMS ALERT

Try to execute 'wget' (http://www.gnu.org/software/wget/) with SMS Gateway's URL as parameter.
Create notification with type 'execute on server' and command: Full path to wget with URL parameter.

HTH,
by scampbell
Mon Mar 19, 2012 11:25 am
Forum: The Dude
Topic: Dude 4.0 beta4??
Replies: 39
Views: 29221

Dude 4.0 beta4??

Add the ability to execute command on RouterOS directly like in windows.

E.g /tool SMS send
by ditonet
Thu Jan 19, 2012 11:05 am
Forum: The Dude
Topic: Dude notification type - Execute on server missing
Replies: 12
Views: 6499

Re: Dude notification type - Execute on server missing

(/tool send sms...)
It was at 2 o'clock AM and I missed this :(
It looks that is impossible to execute ROS script on Dude server :(

Regards,
by santajosh
Thu Jan 19, 2012 7:18 am
Forum: The Dude
Topic: Dude notification type - Execute on server missing
Replies: 12
Views: 6499

Re: Dude notification type - Execute on server missing

The Dude server running on Mikrotik OS (5.11), I like to run script (not windows script) on the RouterOS (/tool send sms...)
by santajosh
Wed Jan 11, 2012 10:36 pm
Forum: The Dude
Topic: Dude notification type - Execute on server missing
Replies: 12
Views: 6499

Dude notification type - Execute on server missing

... and dude 4.0beta3 installed. I like a notification type where I can execute a script on the dude server computer (I like to send SMS /tool sms send usb2 dst=12345678 message="error" ) when a host down, but the ...
by nuskope
Sat Jul 30, 2011 4:30 am
Forum: The Dude
Topic: Dude crashing on Execute on server.
Replies: 0
Views: 1255

Dude crashing on Execute on server.

Ok, so to send a SMS via our API script im having The DUDE open a URL with the execute on server (or locally)
it opens the webpage, sends the sms. then crashes...
4.0beta3 ACCESS VIOLATION at: 7716a080
any thoughts / ideas?
by normis
Mon Jul 25, 2011 12:52 pm
Forum: The Dude
Topic: The dude and sms
Replies: 8
Views: 5795

Re: The dude and sms

the "execute" function runs a command on the dude server with the provided arguments and input in the given path, and returns the return code, program output and/or program error output. executes program, returns array ...
by lebowski
Wed Mar 23, 2011 11:44 pm
Forum: The Dude
Topic: The Dude Create/Write to XML File
Replies: 3
Views: 2689

Re: The Dude Create/Write to XML File

... the exact text I don't know but this is close... Name: pingfail Type: execute on server Command: pingfail.bat [device.name] [device.stuff] pingfail.bat ... a new file where >> writes to an existing file. @echo off echo /<SMS_Batch/> > pingf%1.xml echo /<SMS/> >> pingf%1.xml echo /<Reference_Number/>"time"/</Reference_Number/> ...
by gsandul
Wed Feb 16, 2011 8:56 am
Forum: The Dude
Topic: SMS again - GSM via COM port
Replies: 4
Views: 4425

Re: SMS again - GSM via COM port

... of our SMPP server. This will not help you. I'm comfortable with the execute locally notification, batch files and calling putty sessions. I can easily create a text file of AT commands to send the required SMS including a trailing Ctrl-Z but I can't imagine how to close the COM port ...
by speak
Wed Feb 16, 2011 2:19 am
Forum: The Dude
Topic: SMS again - GSM via COM port
Replies: 4
Views: 4425

SMS again - GSM via COM port

Hi All, First post - love The Dude! We need to send SMS messages out via a GSM modem connected to a PC running The Dude 3.6. As far ... via the AT command set (at+cmgs) on a COM port. I'm comfortable with the execute locally notification, batch files and calling putty sessions. I can easily ...
by gsandul
Sat Oct 23, 2010 10:38 am
Forum: The Dude
Topic: Notification 'execute locally'
Replies: 2
Views: 2457

Re: Notification 'execute locally'

Yes, it is possible. This code we are using to send SMS using exernal java script through SMPP server. We receive SMS at the same time we see the Popup alert on The Dude console. C:\WINDOWS\system32\cscript.exe C:\smsadmin.js admins [TimeAndDate] MSK: ...
by Morphology
Thu Jun 24, 2010 1:35 pm
Forum: The Dude
Topic: SMS Sender Source Code.
Replies: 4
Views: 5111

SMS Sender Source Code.

Hi, this is a VERY CRUDE VB6 program, which I use to send SMS messages from the Dude. It consists of two parts: 1) DudeLogger.exe 2) SMS ... In the Dude, you need to add a new notification: Name: Dude Logger Type: execute on server Command: DudeLogger.exe Service [Probe.Name] on [Device.Name] ...
by lebowski
Thu Jun 03, 2010 9:13 pm
Forum: The Dude
Topic: SMS notification
Replies: 8
Views: 3663

Re: SMS notification

I have not setup SMS notification but a week ago someone posted that they wrote a VB script to tell their ... have been watching you should be able to get it working. Here is a search for SMS and Execute... since you will need to execute an external. http://forum.mikrotik.com/search.php?keywords=SMS+execute&terms=all&author=&fid[]=8&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search ...
by Morphology
Wed Apr 21, 2010 4:55 pm
Forum: The Dude
Topic: the dude sms notification
Replies: 8
Views: 6439

Re: the dude sms notification

... VB, which takes an alert from The Dude, and then sends this on to the SMS gateway. That way I could control the SMS gateway using a language I ... I created a new Notification called "SMS Send" of type "Execute on Server" In the definition for this Notification, I put the ...
by dirkhaex
Tue Apr 13, 2010 9:10 pm
Forum: The Dude
Topic: sending AT commands via terminal/putty
Replies: 6
Views: 4415

sending AT commands via terminal/putty

Does anyone here has a solution for sending AT commands to an SMS modem connected to COM1?

I tried to execute a batch file with the execute local command (with putty) but I can't input data from the dude into this.

Thanks
by lebowski
Mon Feb 01, 2010 10:02 pm
Forum: The Dude
Topic: Process monitoring (aka business-processes)
Replies: 3
Views: 1822

Re: Process monitoring (aka business-processes)

... to know. (We are doomed, the IP phone server crashed) You could also SMS text those messages with an execute function and an application through a usb connected cell phone so it will work even ...
by Ozelo
Wed Sep 09, 2009 3:16 pm
Forum: The Dude
Topic: Send SMS notification
Replies: 8
Views: 5608

Re: Send SMS notification

Ive done sms alerts on dude with gnokii program, but my problem lies on the dude call procedure. i.e. ... Would be really nice if MT dude development team do insert a flag for the "execute on server" command that does NOT return from that call until it is finished. ...
by tgrand
Sun Jun 21, 2009 2:12 am
Forum: The Dude
Topic: Notifications from Dude Server
Replies: 1
Views: 1401

Notifications from Dude Server

... run a script on the 433auh on a notification. can this be done and how. execute on server is not listed. [edit] Would really like to access rb433auh connected gsm device for sms. Cell Carrier sms page requires authentication. email server requires smtp authentication. ...
by itafnoc
Mon Jun 15, 2009 10:58 pm
Forum: The Dude
Topic: how to send a sms to activate a device
Replies: 1
Views: 1546

Re: how to send a sms to activate a device

The following is only pertinent if you wish to send/receive a SMS within Dude. To send an SMS from the Dude (v2.2), you should gather a CLI ... command line. Then you have to set up a new notification of type "Executes locally" or "Execute on server" (it depends from where ...
by stmx38
Sun May 10, 2009 11:42 pm
Forum: The Dude
Topic: Dude - Email notifications through Gmail on Windows - via blat
Replies: 133
Views: 114586

Dude - Email notifications through Gmail on Windows - via blat

... - Email notifications through Gmail on Windows - via mailsend Dude v6 - SMS notifications Requirements 1. Stunnel 2. Blat 3. Dude server on windows ... after debugging!!! 6. Create new Notification Name: Email-blat Type: execute on server "C:\Program Files\Dude\blat\emailblat.cmd" "Service ...
by thavinci
Wed Mar 04, 2009 1:24 pm
Forum: The Dude
Topic: The Dude Execute Mysql Query On Event
Replies: 0
Views: 1426

The Dude Execute Mysql Query On Event

Is it possible too say insert a DB value into a mysql db server on an event?

We have a SMS server that allows sending of messages via this method and it would be great if the dude could execute a query that will insert a record to send an sms.


Feedback/Input?

Regards
by ckgth
Sun Feb 08, 2009 5:47 pm
Forum: The Dude
Topic: SMS Notification
Replies: 10
Views: 4579

Re: SMS Notification

Hello!

I have setted up Dude on my RB/433ah on Ros 3.20.
The Notification-Button shows only "execute locally", no "execute on server"! Why?
I can also send no SMS over my connected Gsm-Modem... With winbox and terminal "/tool smsm send" i can.

regards
Christian
by lebowski
Wed Jan 21, 2009 7:27 pm
Forum: The Dude
Topic: SMS Notification
Replies: 10
Views: 4579

Re: SMS Notification

... your dude server? If your intenet connection is down how will you send sms? Just create a new notification that executes a program. That program sends the sms message to the phone that is connected to your ...
by Tristan99
Wed Jan 21, 2009 7:07 pm
Forum: The Dude
Topic: Notification (Execute locally: run a vbs script)
Replies: 21
Views: 7893

Re: Notification (Execute locally: run a vbs script)

Sadly the same problem. I tried to start a batch file (without any arguments) which would do the following: echo "to:41123456789) >c:\sms\smstext.txt I can start the batch file from command line without any problem but it stops working after i run dude as a service(tested on two different ...
by pjulian
Wed Jan 21, 2009 1:01 pm
Forum: The Dude
Topic: Notification (Execute locally: run a vbs script)
Replies: 21
Views: 7893

Re: Notification (Execute locally: run a vbs script)

... slightly differently, but I suppose it would achieve the same result at the end of the day. Create a batch file called whatever you want, lets say SMS.BAT or SMS.CMD, whichever you prefer. In The Dude, make your alert command like this "SMS.BAT [Device.Name] [Service.Status] [Service.ProblemDescription]" ...
by Tristan99
Wed Jan 21, 2009 12:18 pm
Forum: The Dude
Topic: Notification (Execute locally: run a vbs script)
Replies: 21
Views: 7893

Re: Notification (Execute locally: run a vbs script)

@Paul no problem

The format of the sms textfile should look like this (3 Lines: Nr, empty, smstext):

To: 491721234567

Hello, this is the sms.
by pjulian
Wed Jan 21, 2009 12:05 pm
Forum: The Dude
Topic: Notification (Execute locally: run a vbs script)
Replies: 21
Views: 7893

Re: Notification (Execute locally: run a vbs script)

... to dig :-) So when a device goes down, you want to create a text file with certain information in it to use as a config/parameters file for your SMS sending application, is that correct ? If so, do they have to be on separate lines or simply one after the other or comma separated etc ? Do you ...
by Tristan99
Wed Jan 21, 2009 11:58 am
Forum: The Dude
Topic: Notification (Execute locally: run a vbs script)
Replies: 21
Views: 7893

Re: Notification (Execute locally: run a vbs script)

@pjulian good joke:-(

I would like to send a sms with SMS Server Tools 3, for this to work i need to place a text file with [Device.Name] [Service.Status] [Service.ProblemDescription] in a folder.
by Tristan99
Wed Jan 21, 2009 10:09 am
Forum: The Dude
Topic: Notification (Execute locally: run a vbs script)
Replies: 21
Views: 7893

Re: Notification (Execute locally: run a vbs script)

Does anyone know a other way to write a text file?
I also tried with echo bla bla bla >sms.txt but this didn't work either. That was the reason i wrote a vbs script which save the arguments to a text file.
by Skuggi
Thu Nov 09, 2006 4:13 pm
Forum: The Dude
Topic: Notification that an email/sms has been recieved
Replies: 0
Views: 1744

Notification that an email/sms has been recieved

... a device goes down The Dude sends me an email wich is forwarded as an SMS to my phone. Works really well. What I would like to be able to do is ... possible, but I´m wondering if I could use an external program and the execute function in Dude. Any comment on this?
by GJS
Sat Jul 22, 2006 9:33 pm
Forum: The Dude
Topic: SMS Alerts
Replies: 8
Views: 6769

Using the provider's email to SMS gateway has proved slow and unreliable here in the UK. Using a modem to dial the ... to setup a dude client on the machine that can dial the SMS modem, then use an 'execute locally' notification.