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 on smspilot.ru

Setup instruction

  1. Create new Notification in Dude
    Name: SMS-Notification-smspilot.ru
    Type: execute on server
    Command:
# Variables
:local notificationtext "Service [Probe.Name] on [Device.Name] is now [Service.Status]"
:local url "http://smspilot.ru/api.php"
:local apikey "154YCR22XL9IS4UR8YRO7GFQ81PGN6Z3OD1BXY726N854S52I3046CZ0R8JXR2SH"
#
#
# First Name Last Name
:local to "+xxxxxxxxxxx"
#
/tool fetch output=none url="$url\?apikey=$apikey&to=$to&send=$notificationtext"

And test it via pressing Test button.

  1. Now you can use it:
    Dude-v6-SMS-notification-through-smspilot.ru-using-fetch-tool-01.png
    Related Wiki topics
    Manual:Tools/Fetch

Hope this will help someone.

i got error of “url” invalid how can i test it,

(the \ on ? must be set only if tested on terminal, on script the \ must be removed)

probably because after 6 years the service do not work anymore or has changed syntax…

its working hehehhee, i forgot to install the Dude Client side