How to Monitor a Reverse Proxy Service | JSCAPE

Posted by John Carl Villanueva on Tue, Jul 23, 2019 @ 04:11 AM

[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.


mft gateway cluster


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. 


edit health monitor in mft gateway


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.


mft gateway health monitor configuration


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.


mft gateway health monitor alert email details


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. 


email service configuration mft gateway


Here's an illustration depicting what a JSCAPE MFT Gateway FTP reverse proxy would do in the event that an FTP server belonging to its cluster suddenly became unavailable.



Get Started

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.

Download JSCAPE MFT Gateway



Topics: JSCAPE MFT Gateway, Reverse Proxy