Line 1: |
Line 1: |
| <p style="color:red">The information in this page is updated in accordance with firmware version [https://wiki.teltonika-networks.com/images/8/8f/RUT9_R_00.07.02.7_WEBUI.bin|'''RUTX_R_00.07.02.7'''].</p> | | <p style="color:red">The information in this page is updated in accordance with firmware version [https://wiki.teltonika-networks.com/images/8/8f/RUT9_R_00.07.02.7_WEBUI.bin|'''RUTX_R_00.07.02.7'''].</p> |
| ==Introduction== | | ==Introduction== |
− | This article contains instructions on how to configure SMS and Script alerts using I/O Juggler and SMS Utilities between two RUT955 routers. | + | This article contains instructions on how to configure SMS and script/HTTP alerts using I/O Juggler and SMS Utilities between two RUT955 routers. |
| | | |
| ==Configuration overview and prerequisites== | | ==Configuration overview and prerequisites== |
Line 43: |
Line 43: |
| * Save and apply changes '''(7)'''; | | * Save and apply changes '''(7)'''; |
| | | |
− | '''Note:''' Fields that are not indicated can be left as default. | + | '''Note:''' Fields that are not indicated can be left as defaults. |
| | | |
| ===RUT 1=== | | ===RUT 1=== |
| ---- | | ---- |
− | This section contains RUT1 I/O Juggler configuration. | + | This section contains the RUT1 I/O Juggler configuration. |
| ====I/O Juggler configuration==== | | ====I/O Juggler configuration==== |
| ---- | | ---- |
Line 53: |
Line 53: |
| =====Actions configuration===== | | =====Actions configuration===== |
| ---- | | ---- |
− | The [[RUT955_Input/Output#Actions|Actions section]] is used to manage and create new Actions that can be executed by the I/O Juggler Rules. To configure I/O Juggler Actions: | + | The [[RUT955_Input/Output#Actions|Actions section]] is used to manage and create new actions that can be executed by the I/O Juggler Rules. To configure I/O Juggler Actions, follow these steps: |
| * Log into Router 1 WebUI and go to the '''Services → Input/Output → I/O Juggler → Actions (1)''' page; | | * Log into Router 1 WebUI and go to the '''Services → Input/Output → I/O Juggler → Actions (1)''' page; |
| * '''Enter''' the desired action '''instance name (2)''' and select '''desired action type (3)'''; | | * '''Enter''' the desired action '''instance name (2)''' and select '''desired action type (3)'''; |
Line 67: |
Line 67: |
| * Save and apply changes '''(4)'''; | | * Save and apply changes '''(4)'''; |
| | | |
− | '''Note:''' Fields that are not indicated can be left as default. | + | '''Note:''' Fields that are not indicated can be left as defaults. |
| | | |
| =====General configuration===== | | =====General configuration===== |
| ---- | | ---- |
− | The [[RUT955_Input/Output#General|General section]] is used to Input Trigger rules, which can perform a specified user-configured action when the Input state changes. Once I/O Juggler Action tab is configured open: | + | The [[RUT955_Input/Output#General|General section]] is used to define Input Trigger Rules, which can perform a specified user-configured action when the Input state changes. Once the I/O Juggler Action tab is configured to be open: |
| *'''General''' tab '''(1)''' and '''enable''' it '''(2)'''; | | *'''General''' tab '''(1)''' and '''enable''' it '''(2)'''; |
| * Add '''new instance''' role '''(3)'''; | | * Add '''new instance''' role '''(3)'''; |
Line 85: |
Line 85: |
| # Add actions '''(3)''' - '''Action name''' that was created previously; | | # Add actions '''(3)''' - '''Action name''' that was created previously; |
| | | |
− | '''Note:''' Fields that are not indicated can be left as default. | + | '''Note:''' Fields that are not indicated can be left as defaults. |
| | | |
| ==I/O control via Public IP and HTTP== | | ==I/O control via Public IP and HTTP== |
− | For this configuration, you will need a Static or Dynamic Public IP address on RUT2. You can read up more on this in our article on [[Private_and_Public_IP_Addresses|Private and Public IP Addresses.]] The action will run a script/HTTP and execute the POST/GET command that will set the RUT2 output state to "high" using the RUT2 public IP. | + | For this configuration, you will need a Static or Dynamic Public IP address on RUT2. You can read more on this in our article on [[Private_and_Public_IP_Addresses|Private and Public IP Addresses.]] The action will run a script/HTTP and execute the POST/GET command that will set the RUT2 output state to "high" using the RUT2 public IP. |
| | | |
| ===RUT 2=== | | ===RUT 2=== |
| ---- | | ---- |
− | This section contain information on how to configure RUT2 device. A guide on how to [https://wiki.teltonika-networks.com/wikibase/index.php?title=Domnev&oldid=97979#SMS_Utilities_configuration configure SMS Utilities] can be found above. | + | This section contains information on how to configure the RUT2 device. |
| ====Remote access configuration==== | | ====Remote access configuration==== |
| ---- | | ---- |
− | The [[RUT955_Administration#Access_Control|Access Control]] page is used to manage remote and local access to device. Navigate to: | + | The [[RUT955_Administration#Access_Control|Access Control]] page is used to manage remote and local access to devices. Navigate to: |
| | | |
| * '''System → Administration → Access Control''' | | * '''System → Administration → Access Control''' |
Line 106: |
Line 106: |
| ====I/O Post/Get configuration==== | | ====I/O Post/Get configuration==== |
| ---- | | ---- |
− | [[RUT955_Mobile_Utilities#Post.2FGet|Post/Get]] allows you to perform action requests by writing them in the URL after your device’s IP address. Go to the:
| + | Post/Get allows you to perform action requests by writing them in the URL after your device’s IP address. Go to the: |
| * '''Services → Input/Output → Post/Get'''; | | * '''Services → Input/Output → Post/Get'''; |
| * '''Enable''' Post/Get '''(1)'''; | | * '''Enable''' Post/Get '''(1)'''; |
Line 116: |
Line 116: |
| ===RUT 1=== | | ===RUT 1=== |
| ---- | | ---- |
− | This section contain information on how to configure RUT1 device. A guide on how to [https://wiki.teltonika-networks.com/wikibase/index.php?title=Domnev&oldid=97979#I.2FO_Juggler_configuration configure I/O Juggler] can be found above. | + | This section contains information on how to configure the RUT1 device. A guide on how to [https://wiki.teltonika-networks.com/wikibase/index.php?title=Domnev&oldid=97979#I.2FO_Juggler_configuration configure I/O Juggler] can be found above. |
| =====Actions (Public IP) configuration===== | | =====Actions (Public IP) configuration===== |
| ---- | | ---- |
Line 126: |
Line 126: |
| # Save and apply changes '''(4)''' | | # Save and apply changes '''(4)''' |
| | | |
− | '''Note:''' Fields that are not indicated can be left as default. | + | '''Note:''' Fields that are not indicated can be left as defaults. |
| | | |
| [[File:IO juggler script conf.png|border|center|class=tlt-border|1004x1004px]] | | [[File:IO juggler script conf.png|border|center|class=tlt-border|1004x1004px]] |
| | | |
− | Script example can be seen below:
| + | A script example can be seen below: |
| <pre>#!/bin/sh | | <pre>#!/bin/sh |
| | | |
Line 137: |
Line 137: |
| exit 0</pre> | | exit 0</pre> |
| | | |
− | '''Note''': replace YOUR_USERNAME and YOUR_PASSWORD with your Post/Get created username and password. | + | '''Note''': Replace YOUR_USERNAME and YOUR_PASSWORD with your Post/Get created username and password. |
| | | |
| =====Actions (HTTP) configuration===== | | =====Actions (HTTP) configuration===== |
Line 148: |
Line 148: |
| # Save and apply changes '''(4)''' | | # Save and apply changes '''(4)''' |
| | | |
− | Note: Fields that are not indicated can be left as default. | + | '''Note''': Fields that are not indicated can be left as defaults. |
| | | |
| [[File:HTTP IO.png|border|center|class=tlt-border|1004x1004px]] | | [[File:HTTP IO.png|border|center|class=tlt-border|1004x1004px]] |
| | | |
− | '''Note''': replace YOUR_USERNAME and YOUR_PASSWORD with your Post/Get created username and password. | + | '''Note''': Replace YOUR_USERNAME and YOUR_PASSWORD with your Post/Get created username and password. |
| | | |
| More information about '''POST/GET''' command syntax [[RUT955_Mobile_Utilities#Post.2FGet|here]]. | | More information about '''POST/GET''' command syntax [[RUT955_Mobile_Utilities#Post.2FGet|here]]. |
| | | |
| ==I/O control via RMS VPN== | | ==I/O control via RMS VPN== |
− | If having Public IP is not an option, RMS VPN could be used as an alternative to access your device over the internet. [https://teltonika-networks.com/lt/about-us/introducing-rms-vpn-service/ RMS VPN] is a service designed for remote efficient, low-cost management of large-scale networks. As opposed to point-to-point VPN service, RMS VPN allows the creation of encrypted VPN tunnels for secure access to multiple endpoints within a matter of seconds. | + | If having a public IP is not an option, RMS VPN could be used as an alternative to access your device over the internet. [https://teltonika-networks.com/lt/about-us/introducing-rms-vpn-service/ RMS VPN] is a service designed for remote efficient, low-cost management of large-scale networks. In contrast to point-to-point VPN services, RMS VPN enables the instant creation of encrypted VPN tunnels for secure access to multiple endpoints. |
| ===RMS VPN configuration=== | | ===RMS VPN configuration=== |
| ---- | | ---- |
− | A guide on how to set up an RMS VPN Hub can be found [https://youtu.be/dfAudZR2wPY here]. | + | A guide on how to set up an RMS VPN hub can be found [https://youtu.be/dfAudZR2wPY here]. |
| | | |
| [[File:RMS VPN IO config.png|border|center|class=tlt-border|704x704px]] | | [[File:RMS VPN IO config.png|border|center|class=tlt-border|704x704px]] |
| | | |
− | Both RUT1 and RUT2 have to be added to RMS VPN Hub. | + | Both RUT1 and RUT2 have to be added to the RMS VPN Hub. |
| | | |
| ====Script==== | | ====Script==== |
| ---- | | ---- |
− | Adjust the script accordingly to the RMS VPN Hub assigned IP to RUT2. [https://wiki.teltonika-networks.com/wikibase/index.php?title=Domnev&oldid=98293#Actions_configuration_2| Script example] can be found above. | + | Adjust the script accordingly to the RMS VPN Hub's assigned IP for RUT2. [https://wiki.teltonika-networks.com/wikibase/index.php?title=Domnev&oldid=98293#Actions_configuration_2| Script example] can be found above. |
| | | |
| ==Results== | | ==Results== |