How to Configure Email Notifications for Router Events on RobustOS Devices?

How to Configure Email Notifications for Router Events on RobustOS Devices?

Overview

When managing network devices, it's crucial to be aware of important events, such as system reboots, connection failures, or configuration changes. This guide provides a step-by-step process for configuring a Robustel router running RobustOS to automatically send email notifications when specific system events occur. This ensures that administrators are promptly informed of the router's status without needing to log in to the web interface constantly.

What You'll Need

Hardware list:

  • 1 x Robustel Router (e.g., R1520, R2110, R5020)
  • 1 x PC with a web browser
  • An active internet connection for the router
  • Necessary cables (Ethernet, Power)

Software/Firmware:

  • This guide is based on RobustOS V5.3.2 or newer.

Prerequisites:

  • Ensure your PC is connected to the gateway's LAN port via an Ethernet cable.
  • Log in to the Router's web interface. The default IP address is typically http://192.168.0.1.

Other:

  • An active email account with its SMTP server details (Server Address, Port, Username, and Password/App-Password).

Step-by-Step Configuration Guide

The configuration process is divided into two main stages: setting up the router's email client and then creating an event rule to trigger the email notification.

Step 1: Configure the Email Client

First, you must configure the router with the necessary credentials to log into your email provider's SMTP server to send emails.

  1. Navigate to Services -> Email from the main menu.
  2. Toggle the Enable switch to ON.
  3. If your email provider uses encryption (most do), enable Enable TLS/SSL or Enable STARTTLS as required.
  4. In the Outgoing server field, enter your email provider's SMTP server address (e.g., smtp.gmail.com).
  5. Enter the correct Server port for the outgoing server.
  6. Toggle the Auth Login switch to ON.
  7. Enter your full email address in the Username field and your password (or a dedicated app password) in the Password field.
  8. In the From field, enter the sender's email address (typically the same as your username).
  9. In the Subject field, enter a subject line for the notification email, such as "Robustel Router Event Alert".
  10. Click Submit at the bottom of the page to save the email settings.
  11. Finally, click Save & Apply in the top right corner to make the changes take effect.

Step 2: Create an Event Notification Rule

Next, you will define which specific event should trigger the router to send an email to a designated recipient.

  1. Navigate to Services -> Event from the main menu.
  2. Click on the Notification tab.
  3. Under the Event Notification Group Settings section, click the + button to add a new notification rule.
  4. A configuration window will pop up. In the General Settings section:
    • Toggle the Send Email switch to ON.
    • In the Email Addresses field, enter the recipient's email address.
  1. Scroll down to the Event Selection section within the same window. Locate the event you want to be notified about and toggle its switch to ON. (Note: This example uses "reboot" as a test. For a full list of supported event types, you can browse the "Event Selection" section. In a group, you can enable the switch for one or more supported events you wish to receive under this section. )
  2. Click Submit in the pop-up window.
  3. Finally, click the main Save & Apply button at the top-right of the screen to make all changes take effect.

Verification & Testing

To verify that the configuration is working correctly, you need to trigger the selected event.

  1. Since the trigger event is System Reboot, simply click the Reboot button located in the top-right corner of the web interface.
  2. Confirm the reboot action and wait for the device to restart and re-establish its internet connection.
  3. Check the recipient's email inbox. You should receive an email with the subject you configured in Step 1. The body of the email will contain a notification that a "System Reboot" event has occurred.


Troubleshooting / FAQ

  • Q: I rebooted the router but did not receive an email. What should I check?
    • A:
    1. Internet Connectivity: Ensure the router has a stable internet connection. You can check this under Status -> Internet Status.
    2. Email Settings: Double-check all entries in Services -> Email. The most common errors are an incorrect Outgoing Server address, Port, Username, or Password. Note that some providers like Gmail require a special "App Password" instead of your main account password for third-party applications.
    3. DNS Resolution: Use the built-in diagnostic tool to confirm the router can reach the mail server. Navigate to System -> Tools -> Ping, enter your SMTP server's hostname (e.g., smtp.gmail.com) in the IP address field, and click "Ping". If it fails, you may have a DNS issue.
    4. System Logs: Check for error messages in System -> Debug. The logs may provide specific clues as to why the email failed to send.
  • Q: Can I send notifications for other events?
    • A: Yes. In the Event Selection part of the notification rule, you can enable any listed event, such as Primary Link Down, Backup Link Up, Login Failed, etc., to trigger an email alert.

Revision History

Version

Date

Author

Changes

1.0

2025-10-10

Jens Zhou

Initial document creation.


    • Related Articles

    • How to Configure SMS Notifications for Router Events on RobustOS Devices?

      Overview In many remote or mission-critical deployments, it is crucial for administrators to be notified immediately of specific events occurring on their IoT gateways, such as a system reboot, a VPN tunnel going down, or a link failure. This guide ...
    • RobustOS SDK

      Robustel's router allows 3rd party to develop their applications. We provide a Software Development Kit (SDK), which offers a simple and fast way to implement customer-specific functions and applications. This SDK is compatible with the models listed ...
    • RobustOS Pro SDK

      Robustel's router allows 3rd party to develop their applications. We provide a Software Development Kit (SDK), which offers a simple and fast way to implement customer-specific functions and applications. This SDK is compatible with EG5100, LG5100, ...
    • How to connet to Wi-Fi on RobustOS Devices?

      Overview This guide provides instructions on how to configure a Robustel gateway to connect to an existing Wi-Fi network as a client. This setup is useful when you want the gateway to use a local Wi-Fi network for its internet connection, instead of ...
    • How to configure a Modbus RTU to Modbus TCP server on RobustOS Devices?

      Overview In industrial and IoT environments, it's common to have legacy devices that communicate using the Modbus RTU protocol over a serial connection (RS232/RS485). However, modern monitoring and control systems typically operate over IP networks ...