RoboMiri comes with a very easy way to create your own Port Uptime Monitor.
What is a Port Monitor?
A Port Monitor is a type of uptime monitor that lets you know when a service running on a specified port is down (a service like a Database, a Mail Server, etc). It sends a scheduled request to your service and waits for an answer in a given timeframe, also known as a timeout. If the response is received, the monitor is marked as UP, otherwise, it is marked as DOWN. A socket is open on the given port and, if the port is available and the service is up and running, the monitor is marked as UP.
How RoboMiri does do this?
RoboMiri is following the same principle. First, it sends an open socket connection request to your service and waits for a response. If it gets the response and socket can be opened, then the monitor is marked as UP and the response time is saved in order to create a statistic with it, so you can see how long your service is taking to respond.
The main server of RoboMiri is based in London, so it measures the response time from London.
If the monitored service is not responding to the first request (our requests are blocked by a proxy or firewall or the webpage is really down), RoboMiri is sending the monitor to another checker that is based on Ireland on another network. This checker is doing again the same check and, if it also does not receive the message, it marks the monitor DOWN. When the monitor is marked as DOWN, RoboMiri saves the error code and message and sends a notification to all configured notifications for that monitor (voice call, sms, email or webhook).
If the monitor is marked as down and at the next check is also down, no notifications will be sent in order to save user notifications (if there are paid notifications like voice call or sms).
If the monitor is up again, RoboMiri sends a notification in which it lets you know that the monitor is up and for how long it was down.
How to create a Port Uptime Monitor?
RoboMiri offers the simplest way to create a port uptime monitor. After login, just go to dashboard and click Add Monitor.
A modal will appear with monitor details. From there, add a Monitor Name and on Monitor Type field, choose PORT.
On the next step, complete your service url to monitor on Url (or IP) field and Port field.
If you need, configure some other fields, like Run Interval or Notifications to send and press Save.
And that’s it, your monitor is now up and running.
P.S. If you have any requirements or suggestions, just let us know in comments.