Telegram-bot interface for zabbix
- Python library for Telegram Bot API - https://github.com/python-telegram-bot/python-telegram-bot
- Zabbix API in Python - https://github.com/gescheit/scripts/tree/master/zabbix
- Python HTTP requests library - http://docs.python-requests.org/en/master/
You can install all dependencies running:
- pip3 install python-telegram-bot
- pip3 install requests
- pip3 install zabbix-api
- Clone this project, install dependencies
- Copy file config_template.py to config.py, edit config.py
- Edit zabbix-bot.service, copy it to /etc/systemd/system/
- run systemctl daemon-reload, systemctl start zabbix-bot
- include logger