= Icinga2 Notification to Telegram through Director = === Prerequisite === * Telegram BOT Token code and Chat ID created. If you haven't created these, please consult [wiki:NSM2021/Agenda/AlertsLibrenms#CreateTelegramBOT here] * Notification Users are created in Icinga Director == Create new command on Icinga2 == We have created a custom bash code to translate Icinga notifications to Telegram. Download it into the scripts directory. {{{ #!sh cd /etc/icinga2/scripts wget https://raw.githubusercontent.com/LEARN-LK/Tutorials/master/Scripts/ICINGA2/icinga2-telegram-host.sh wget https://raw.githubusercontent.com/LEARN-LK/Tutorials/master/Scripts/ICINGA2/icinga2-telegram-service.sh chmod +x icinga2-telegram-host.sh chmod +x icinga2-telegram-service.sh }}}