Nagios notifications via Telegram
This post shows you how to use Telegram for Nagios notifications. First create a Telegram Bot by talking to the BotFather. The Telegram Bot will be the sender of the Nagios alerts. You’ll receive an API token that also includes the UserID of the Bot: Token: 200194008:AAEG6djWC9FENEZaVIo3y3vZm24P3GTMetw UserID: 200194008 Download the nagios_telegram.py script that will send the alerts via Telegram: wget -O /usr/local/bin/nagios_telegram.py https://raw.githubusercontent.com/pommi/telegram_nagios/master/telegram_nagios.py chmod 755 /usr/local/bin/nagios_telegram.py This is the configuration you need in Nagios (of course replace the token with your own):...