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.
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.
Once you installed the app, enter its configuration panel, and copy the Webhook Url field contents:
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