Skip to content

Parser of a group of telegrams about the presence of a missile attack in Kiev and notification on zabbix

Notifications You must be signed in to change notification settings

dog1912/Group-Parser-Telegram-Zabbix-Air

Repository files navigation

Group-Parser-Telegram-Zabbix-Air

Parser of a group of telegrams about the presence of a missile attack in Kiev and notification on zabbix

Installation

pip3 install telethon
mv air.alert.conf /etc/zabbix/zabbix_agentd.d/
systemctl restart zabbix-agent.service
mv TeleParser.py  /etc/zabbix/zabbix_agentd.d/
mv config.ini /etc/zabbix/zabbix_agentd.d/
mv air.alert.service /etc/systemd/system/
systemctl daemon-reload
systemctl status air.alert.service

Edit config

vi /etc/zabbix/zabbix_agentd.d/config.ini

Authentication

/usr/bin/python3.7 /etc/zabbix/zabbix_agentd.d/TeleParser.py

Enter the phone number and authorization code

systemctl restart air.alert.service

Create zabbix items and triggers

Image alt Image alt

About

Parser of a group of telegrams about the presence of a missile attack in Kiev and notification on zabbix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published