ableev / Zabbix-in-Telegram

Zabbix Notifications with graphs in Telegram
MIT License
771 stars 235 forks source link

Needs to send some text bot in private on zabbix test #168

Closed villitax closed 5 years ago

villitax commented 5 years ago

Hello friend, I have a problem with the zabbix and telegram application. the test works correctly, ""./zbxtg.py "@alber_hedima" "first part of a message" "second part of a message" --debug"" but when I try it on zabbix, I get the message that I need to write a private message.

Media type test failed. zbxtg.py: User ' alber_hedima' needs to send some text bot in private

also fails to put @alber_hedima

Thanks!!

djettah commented 5 years ago

I have the same problem but with a group chat:

zbxtg.py: User '-391537009' needs to send some text bot in private

ableev commented 5 years ago

@villitax I don't know what you did to get such an error. Try this: https://github.com/ableev/Zabbix-in-Telegram/wiki/How-to-test-script-in-command-line The issues are not meant to answer to every person who did not set up the script correctly.

ableev commented 5 years ago

@djettah , it's not the same problem. Please, read the README once again. You've done it wrong.