Zabbix-in-Telegram
Zabbix-in-Telegram copied to clipboard
What do I do if I want to send a different message for each group?
I want to send A1 message to Group A and B2 message to Group B. I failed when I did. See below.
Example:
-
edit zbxtg_settings.py zbx_tg_daemon_enabled_ids = [123344556,] zbx_tg_daemon_enabled_users = ["zabbix_bot1","zabbix_bot2",]
-
uids.txt zabbix_bot1;private;-111111111 zabbix_bot2;private;-2222222
Sending the same message to both groups succeeded. Group A, however, does not need to confirm Group B's message.
the problem is on your web site of zabbix, you should creat diffrent user on you zabbix web site ,and then send diffrent message to your user if you want