Closed mator closed 4 years ago
I think what you have to do is invite the bot to the chat instead. I only have the following variables.:
- name: LISTEN_ADDR
value: "0.0.0.0:8808"
- name: ALERTMANAGER_URL
value: "http://alertmanager.monitoring:9093"
- name: BOLT_PATH
value: "/data/bot.db"
- name: STORE
value: "bolt"
- name: TELEGRAM_ADMIN
value: "84214460"
- name: TELEGRAM_TOKEN
value: "0626343416:AsdfgDHDFhsfd-lhw8isdDg45rth4Dhdgh4"
- name: TEMPLATE_PATHS
value: "/templates/default.tmpl"
so, if bot is sitting in the different chats (groups and direct), it will post alerts to all chats instead of specified one ? Thanks.
Yes, you will receive duplicated alarms
On Thu, Dec 26, 2019, 09:37 Anatoly Pugachev notifications@github.com wrote:
so, if bot is sitting in the different chats (groups and direct), it will post alerts to all chats instead of specified one ? Thanks.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/metalmatze/alertmanager-bot/issues/88?email_source=notifications&email_token=AB6QAYBKNE5GXLVBMHNIS4DQ2RUMJA5CNFSM4JVHWP62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHVHD7I#issuecomment-569012733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6QAYFMQUWB7LRLC2G6AOLQ2RUMJANCNFSM4JVHWP6Q .
How do i specify what chatid is used for notifications? Thanks