Skip to content
Telegram notifications for Icinga2
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Import to git Sep 23, 2016 Add screenshot Sep 23, 2016 getupdates: Add getMe call Dec 7, 2018
icinga2-example.conf Import to git Sep 23, 2016
screenshot.png Add test and debugging scripts Dec 7, 2018

Icinga 2 Notifications to Telegram

The repository shows how to configure Icinga 2 to send notifications via Telegram.

These can be send either to:

  • Group Chats
  • Personal User Chat

Please note that only the transport is encrypted, but not the actual messages. (They can be seen be Telegram employees).

Start by creating a new bot.

When you first message the bot with /start or add it to a group, you can get updates via the Telegram API, to get the Chat ID you want to sent messages to.

curl --silent "${TOKEN}/getUpdates"

Use this chat ID to add it to a user.

Checkout the example files to configure Icinga 2:




These scripts and examples are based on a blog post:

Please check out his post too, I just refitted it to fit my needs.


Since the original Author didn't pick a license; but put it public, I will choose CC-BY

Copyright (c) 2016 Stefan Gehn <>

Creative Commons Attribution 2.0 Generic (CC BY 2.0)

You are free to:

* Share — copy and redistribute the material in any medium or format
* Adapt — remix, transform, and build upon the material
  for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

* Attribution — You must give appropriate credit, provide a link to the license,
  and indicate if changes were made. You may do so in any reasonable manner,
  but not in any way that suggests the licensor endorses you or your use.

No additional restrictions — You may not apply legal terms or technological measures
that legally restrict others from doing anything the license permits.
You can’t perform that action at this time.