EZAlert.me Blog

Use cases, facts and tutorials about EZAlert.me

About EZAlert.me

EZAlert.me offers a simple API to allow your programs or devices send you alerts via popular instant messages applications like Telegram, Skype, Facebook Messenger or Slack.
Here we publish posts about use cases, samples and stuffs related to EZAlert.me use and configuration.
If you like to share notes about how you use EZAlert.me, just sent us an email to ezalert(at)ezalert.me.
EZAlert.me home

QNAP alerts on SLACK

So you have your QNAP device and your Slack channel, and you are wondering how to get QNAP alerts in Slack. QNAP can only send emails so you need to use EZALert.me Email Gateway.

What is EZALert.me Email Gateway?

Each EZAlert.me channel has an associated email address: every email sent to that address is distributed to all subscribers of the channel. Each EZAlert.me channel can be subscribed via Skype, Telegram, Facebook Messanger or can use a webhook to send messages to a Slack channel.

Configuring QNAP to send alerts via EZAlert.me

First of all you need to find the email address of your EZAlert.me channel, so login to your EZALert.me account, go in the channel configuration page and get the "EMail gateway address". The address is usually hidden, just click on the "View/Hide API key" button to show it.

It is an email address in the form XX-YYYYYYY@ezalert.me.

EZAlert.me Email Gateway Settings

Now you have to use that email address in your QNAP config as alert email destination and you will get qnap errors via EZAlert.me instant messages.

To do it you can use QNAP email alert notification instructions here

Access to your QNAP configuration panel and open System Settings applet. Select Notifications on the left menu and then click on "Alert Notification" tab. Insert your EZAlert.me channel Email Gateway address into the "E-mail address 1" field. Then click the "Send Test E-mail" butto to test it.

If you can't receive the message, it's possible you need to configure a SMTP gateway on SMTP Server page of QNAP Notification configuration. Set it to your internet service provider SMTP address. If you are in doubt you can use EZAlert.me SMTP gateway, but please note that it will only work for EZAlert.me emails and it will not forward emails to addesses out of the @ezalert.me domain. EZAlert.me SMTP gateway address is: mail.ezalert.me .

Configuring EZAlert.me to send alerts to Slack

To allow EZALert.me post to your Slack, you need to install in it the Incoming Webhooks Slack app.

Slack App to install

Once you installed the app, enter its configuration panel, and copy the Webhook Url field contents:

Slack App to install

Go back to EZAlert.me configuration, enter your EAlert.me channel page, and click on "Add Slack Connection". Paste the Url you copied from the Webhooks app and click on Save button.

Now every time you QNAP sends an alert via email, that email is forwarded to EZAlert.me which wil push its contents to your Slack!

Find more info about EZALert.me Slack integration here: https://ezalert.me/pages/slackintegration

Integrate GitLab with EZAlert.me

GitLab is one of the best sites where to store your source repositories. If you are a GitLab user, you will be pleased to know that EZAlert.me offers a webhook that it can call every time something happens on one of your repositories, and the best is that the configuration is a piece of cake!

First of all you need to own a channel on EZAlert.me, so if you have not, register on EZAlert.me and create one. Then navigate to channel details and click on the "Show API Keys" button to make the modal appear.

EZAlert.me GitLab webhook

Copy the URL in the GitLab webhook section, then go to GitLab, select your repository, then click on Settings and Integrations. Paste the URL you copied in the URL field.

How to configure GitHub Webhooks

To complete the configuration click Add webhook button.

Now subscribe the EZAlert.me channel via one of its bots (Skype, Telegram, Facebook Messenger) and get GitLab notifications directly on your mobile phone.

Integrate GitHub with EZAlert.me

If you are a GitHub user, you will be pleased to know that EZAlert.me offers a webhook that can be called every time something happens on one of your GitHub repositories, and the best part is that the configuration is super easy.

First of all you need to own a channel on EZAlert.me, so if you have not, register on EZAlert.me and create one. Then navigate to channel details and click on the "Show API Keys" button to make the modal appear.

EZAlert.me GitHub webhook

Copy the URL in the GitHub webhook section, then go to GitHub, select your repository. click on Options button and then select Webhooks". Click on Add webhook then paste the URL you copied in the Payload URL field.

How to configure GitHub Webhooks

Once you complete the configuration, just subscribe the EZAlert.me channel via one of its bots (Skype bot, Telegram bot, Facebook Messenger bot) and get GitHub notifications directly on your mobile phone.

How to send yourself alerts via Skype with CURL

So your main instant message at work is Skype and you would like your Apps or devices can reach you with alerts using Skype.

Well, there are good news for you: with EZalert.me you can do it in few minutes.

Create an EZAlert.me channel

If you haven't it yet, you need to create a free account on EZAlert.me from here. Once you registered and confirmed your account, you can login and go to your EZAlert.me channel details.

On the channel page note your start code. start code

Subscribe to your channel

Now use the link (or QRCode) on the right box to add EZAlert.me Skype Bot to your Skype friends list. Then send a message to it with the following text:

start YOUR_START_CODE_HERE

The bot should say you subscribed the channel.

Bot activation procedure

Get your API Key

Now, go back to EZAlert.me user area, enter channel details and click on the "Show API keys" button to get the API key. A modal window will pop up where you can find your channel API Key.

EZAlert.me API Key

Copy your API key and start playing with CURL. For example you can try the following command:

curl -X POST 'https://ezalert.me/v1/sendAlert' \
    --data-urlencode 'apikey=YY-YYYYYYYYYYYY' \
    --data-urlencode 'text=This is a test alert'

Just note that you must replace YY-YYYYYYYYYYYY with the actual channel API key you got.

Here you go.

Curl message received on Skype

And the best part is that you can use the same channel to send yourself or your coworkers alerts also via Telegram or via Facebook Messenger.