Web apps

Receiving Zabbix notifications

published on

This article covers some of the ways of getting Zabbix notifications. Zabbix offers a number of ways of receiving notifications covering everything you wish to monitor.

Whilst there are many services you can use to receive your Zabbix notifications this article only shows you how to use some of them. It will be updated as time allows.

Setting up email notifications

This is probably the simplest one to set up.

In essence got to Administration then Media Types then Email or Email (HTML). Fill in the details of the email service you wish to use to send the notifications or alerts.

Now go to Administration then Users then click on the user you wish to set up notifications or alerts for. Now select Media then Add. Fill in the email address you wish to send alerts or notifications to then click on Add and then Update.

Settting up Telegram notifications

This takes a few more steps but is fairly simple when you boil it down to the basics.

First, in Telegram, open a chat with @BotFather and send the /newbot command to create a new bot. Fill in the requested details and keep track of the token you are provided at the end.

Now open a chat with @myidbot and send the /getid command to find out your user id number. Keep a track of this id as well.

Next, open a conversation with the bot you just created and send the /start command. If you do not do this the conversation will not exist and the connection will not work.

In Zabbix, go to Administration then Media Types. Choose Telegram and add the bot token to the Token field. The ParseMode field can contain either the word Markdown or HTML depending on how you want the notification formatted. Finally, check the ProcessTags field.

Now, again in Zabbix, go to Administration then Users. Select the user you wish to add Telegram notifications for and click on Add in the Media section. Use the user id from earlier in the send to field to finish setting up this connection.