Parser of a group of telegrams about the presence of a missile attack in Kiev and notification on zabbix
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
vi /etc/zabbix/zabbix_agentd.d/config.ini
/usr/bin/python3.7 /etc/zabbix/zabbix_agentd.d/TeleParser.py
Enter the phone number and authorization code
systemctl restart air.alert.service