SMS Notifications by Bridging Ethernet and Serial with Moxa’s NPort
Monitoring needs to take place wherever data is collected, which may not always be right next to your NetEye server. If you have poor signal reception, or else you’re running on a virtual machine, and you need 24×7 availability, notification via SMS may be the only option. Sometimes you just can’t run a serial cable to your server.
In such cases you should take a look at NetEye’s solution that bridges the modem’s serial cable to a standard cabled Ethernet network. Based on the Moxa Nport 6100 series, it creates a bidirectional gateway between the SMS modem and either the Internet or a private LAN. Thus important notifications go from NetEye, through Moxa, through the modem, and to your phone.
Setting up the hardware is easy. Instead of connecting the modem directly to your physical server with a serial cable, connect the modem to one end of the Moxa device and an Ethernet cable to the other end. The Ethernet connection can be directly connected to the server, to a switch on your private LAN, or directly to the internet.
Once that’s done, you can configure the software for all three components:
Moxa: Connect via TCP from your NetEye machine. Moxa allows configuration via either Telnet or a browser. It involves setting the IP, a user name and password. That’s it.
NetEye: Install and configure the npreals and smsd systemd services, then test the bridged connection.
Modem: Nothing! Modem configuration is entirely done in NetEye with the smsd service.
Once the setup is done, you’re ready to test that you can send an SMS with the appropriately named smssend script. Don’t forget to put the SIM card’s PIN in the configuration.
That’s it! You can now integrate SMS notifications into your NetEye configuration. We’ve written an entire How To in NetEye 4.5 if you’re interested, just go to User Guide > Initial Configuration > SMS Gateway Connection.
I don't really know the reason behind it, maybe because the typical scenario for notifications is just "send all events to this mailing list", or as we say: set it and forget it. But we shouldn't use this as an Read More
Sending an SMS requires time, between 5-7 seconds. This means that if you have to write a lot of SMS's, you have to attach more than one SMS gateway to your server to be able to send them within a Read More
Last time I wrote about how you can have incoming SMS messages sent to the Tornado Engine so that you can make Tornado Rules to process them. This time I'd like to show you a real use case where we Read More
Most physical NetEye servers have an SMS Gateway attached in order to send CRITICAL notifications via an SMS message, since this will work even when the main network is down. However, sometimes you just want to send messages to your Read More
As perhaps all NetEye users who have already used NetEye 3 know, NetEye 3 included the SMS Tools module. This simple module allowed a user to send SMS messages via a connected SMS gateway. These weren't the usual monitoring alarms, Read More