[Last updated July 23, 2019] When a node in your reverse proxy service cluster goes down, you might want to be notified right away. This will allow you to take immediate action and bring your cluster back into optimal condition before something else goes wrong. In JSCAPE MFT Gateway, you can get an email notification through its built in Health Monitor. If you want to learn more about this particular feature, read on.
Watch the video
Would you prefer to watch a video version of this tutorial instead? You can play the video below. Otherwise, just skip it if you wish to continue reading.
The JSCAPE MFT Gateway Health Monitor
Last time, we taught you how to configure a high availability cluster for various TCP/UDP services. One limitation with that set up is that, if a node in the cluster went down, 1) there was no way of knowing about it unless a user would complain, and 2) the cluster still included the broken node when distributing incoming traffic. That meant, clients that were directed to that node would fail to connect.
To address that limitation, you can enable the Health Monitor feature. The health monitor enables the reverse proxy server to conduct routine checks on its service clusters and determine whether any of the member-nodes are down.
These checks are normally carried out every 60 seconds but can be adjusted to any desired interval. The monitor can also be configured to perform n number of retries to check if the service has already been restored. If the service in question is still found to be down at the last retry, the system could then send an email notification to a designated recipient.
You can specify separate recipients for host-related issues and for agent-related issues. In our case, we just configured MFT Gateway to send notifications to the same recipient.
Don't forget to tick the Enabled checkbox and to click Save to commit the changes.
Reverse Proxy Email Notification Details
The message in your email notification can be customised to suit your preferences. To specify what information should be included, just click the Email buttons in the screenshot above. Then in the Alert Email Details dialog, you can click the Variables button to insert pertinent information such as the Host, Port, and Protocol of the affected service. You can also add the Date if you want.
Email Service Settings
Before your reverse proxy server can start sending any email notifications, you'll have to configure the settings of its email service. Specify the host/IP address, port, and protocol of your email server. Depending on how your email server is configured, you might also have to specify a username and password. Finally, enter the appropriate email address into the From field.
JSCAPE MFT Gateway is a reverse proxy and load balancer that supports SFTP, FTP/S, HTTP/S, and other TCP-IP protocols. Download a free, fully-functional evaluation edition now.