Notify your flock about unexpected downtime
In this guide we'll go over how you can set up a monitoring service to send a message in your Discord if your server ever goes down or becomes unavailable to the outside world.
Hetrixtools, a monitoring service will periodically check (e.g. every 3 minutes) if your Minecraft server is online by pinging its IP. If Hetrixtools doesn’t get a ping back it will send out an alert to your Discord server. You can also configure it to send you SMS messages and emails.
Create an account
- Go to https://hetrixtools.com (opens in a new tab)
- Click the button that says “FREE SIGNUP” in the top right corner, and enter your account details
Set up monitoring
- Click the button that says “Tools” in the top toolbar, and from the dropdown select “Uptime Monitors”.
- Now click the “Add Monitor” button from the top right corner of the uptime monitors page.
- Select “Ping/Service Monitor”, and enter your servers IP and Port in the assigned fields.
- Choose the locations that Hetrixtools will ping your server from, and press “Add Monitor”.
Get Notifications: Create a webhook
- Go to your Discord servers settings, and under apps click the button named “Integrations”.
- Click “New Webhook”, give the webhook a name, and select a channel for the webhook to send messages to.
- Copy the webhook URL by clicking the “Copy Webhook URL” button.
Get Notifications: Link your webhook
- Log in to your Hetrixtools dashboard (https://hetrixtools.com (opens in a new tab))
- In the top right corner click on your name, and from the dropdown select the “Contact Lists” option.
- Click the pencil beside the default contact on the contact lists page to edit where messages are sent.
- Go down to the “Slack / Discord / Mattermost / RocketChat” titlebar, then click it to expand.
- Enter your webhook URL into the assigned field, and channel name (e.g. #notifications if applicable), and you’re done.