Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
1.98k stars 571 forks source link

Script for telegram notification #10063

Closed psztoch closed 1 month ago

psztoch commented 1 month ago

Describe the solution you'd like

Ready for use script /etc/icinga2/scripts/telegram-host-notification.sh and /etc/icinga2/scripts/telegram-service-notification.sh.

Updated /etc/icinga2/conf.d/commands.conf.

Is your feature request related to a problem? Please describe.

I believe that Telegram is so popular that it is worth including this script in the official distribution along with "object NotificationCommand".

moreamazingnick commented 1 month ago

Telegram is indeed very nice but here are some things to consider

oxzi commented 1 month ago

I would second @moreamazingnick's opinion. Personally I would not use Telegram for sensitive information, or anything at all.

Furthermore, there are already lots of notification plugins out there. Please use some of those scripts, as adding this additional maintenance to the main Icinga 2 repository should not be worth the effort.

abielan commented 1 month ago

A plugin for several of the most popular messengers should be in the main repo and standard package. The lack of a plugin for Telegram is a problem that is definitely worth solving. Icinga has great monitoring but poor reporting and average notifications.