25.02.2016
What's new:
•
• Parse type: markdown and html. https://core.telegram.org/bots/api#markdown-style + https://core.telegram.org/bots/api#html-style, allows to format some part of messages. Plain text by default. Available as parameter
• Code style formatting
• TelegramAPI / ZabbixAPI classes optimized
• More debug added
• Channels support. https://github.com/ableev/Zabbix-in-Telegram/issues/23. At firts you need to set bot as admin of a channel. Sending available by unique identifier for the target chat or username of the target channel (in the format @channelusername). And "unique identifier isn't working yet. Example:
https://github.com/ableev/Zabbix-in-Telegram
What's new:
•
disable_web_page_preview
. Disables link previews for links in this message. You can set it with another parameter as --disable_web_page_preview
or right in zabbix action as zbxtg;disable_web_page_preview
• Parse type: markdown and html. https://core.telegram.org/bots/api#markdown-style + https://core.telegram.org/bots/api#html-style, allows to format some part of messages. Plain text by default. Available as parameter
--markdown
/--html
or as setting in zabbix action zbxtg;markdown
/zbxtg;html
• Code style formatting
• TelegramAPI / ZabbixAPI classes optimized
• More debug added
• Channels support. https://github.com/ableev/Zabbix-in-Telegram/issues/23. At firts you need to set bot as admin of a channel. Sending available by unique identifier for the target chat or username of the target channel (in the format @channelusername). And "unique identifier isn't working yet. Example:
./zbxtg.py @Zabbix_in_Telegram "https://github.com/ableev/Zabbix-in-Telegram/issues/23" test --channel
https://github.com/ableev/Zabbix-in-Telegram
01.03.2016
• python3 capability – fixed all types of errors
• added reply-to graph in case when graph appeared before text message, see example below
Checkout: https://github.com/ableev/Zabbix-in-Telegram/tree/dev
dev
branch!• python3 capability – fixed all types of errors
• added reply-to graph in case when graph appeared before text message, see example below
Checkout: https://github.com/ableev/Zabbix-in-Telegram/tree/dev
05.04.2016
https://github.com/ableev/Zabbix-in-Telegram/pull/34
• Fixed http/https proxy settings
• Replaced
• Graphs are now sending as replies to text messages, all graphs are silent messages
• Fixed
Good news, now we have public super group: https://telegram.me/ZbxTg
dev
merged to master
.https://github.com/ableev/Zabbix-in-Telegram/pull/34
• Fixed http/https proxy settings
• Replaced
_content
method with text
method in requests
calls• Graphs are now sending as replies to text messages, all graphs are silent messages
• Fixed
chmod
in Python 3
Good news, now we have public super group: https://telegram.me/ZbxTg
Don't forget to star the project on GitHub: https://github.com/ableev/Zabbix-in-Telegram
And if you are using share.zabbix.com, rate it: https://share.zabbix.com/cat-notifications/zabbix-in-telegram
Thanks!
And if you are using share.zabbix.com, rate it: https://share.zabbix.com/cat-notifications/zabbix-in-telegram
Thanks!
GitHub
GitHub - ableev/Zabbix-in-Telegram: Zabbix Notifications with graphs in Telegram
Zabbix Notifications with graphs in Telegram. Contribute to ableev/Zabbix-in-Telegram development by creating an account on GitHub.
20.04.2016
• Handle migrated groups to supergroups
• Got rid of sys.exit in classes
• Notification about unavailability to get graph without broken notification at all
• Minor changes (some parts of variables migrated to classes)
Checkout: https://github.com/ableev/Zabbix-in-Telegram/tree/dev
dev
branch.• Handle migrated groups to supergroups
• Got rid of sys.exit in classes
• Notification about unavailability to get graph without broken notification at all
• Minor changes (some parts of variables migrated to classes)
Checkout: https://github.com/ableev/Zabbix-in-Telegram/tree/dev
Some of you know the pull request about emoji support [ https://github.com/ableev/Zabbix-in-Telegram/pull/36/commits/0d7d1d8206f5f7bd1018eb47526614837c371c77 ].
I've changed some logic in that case, see forward message and example.
Will be deployed soon.
$ python zbxtg.py ableev "Test trigger with emoji" "Some {{info}} and {{ok}}. Omg, we have {{disaster}} in production. Looks like {{hankey}}, it's a {{problem}}. {{fire}} {{fire}} {{fire}}, {{bomb}}"
I've changed some logic in that case, see forward message and example.
Will be deployed soon.
$ python zbxtg.py ableev "Test trigger with emoji" "Some {{info}} and {{ok}}. Omg, we have {{disaster}} in production. Looks like {{hankey}}, it's a {{problem}}. {{fire}} {{fire}} {{fire}}, {{bomb}}"
Forwarded from Zabbix-in-Telegram@ableev
Test trigger with emoji
Some ℹ️ and ✅. Omg, we have ❌ in production. Looks like 💩, it's a ❗. 🔥 🔥 🔥, 💣
Some ℹ️ and ✅. Omg, we have ❌ in production. Looks like 💩, it's a ❗. 🔥 🔥 🔥, 💣
Forwarded from Ilia Ableev
Added the ability to update last PROBLEM without sending OK, check out
You will need to add
dev
branch.You will need to add
zbx_tg_update_messages
and zbx_tg_matches
variables to the config for that.Now we have the ability to send a location map (useful when you have filled inventory fields), details in https://github.com/ableev/Zabbix-in-Telegram/issues/48. Check the
dev
branch.Simple daemon that can answer with trigger list, check the
dev
branch. Little documentation in the https://github.com/ableev/Zabbix-in-Telegram/issues/53