-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notify_telegram plugin #4303
base: main
Are you sure you want to change the base?
notify_telegram plugin #4303
Conversation
New plugins should go to |
Thank you for your helpful issues. I've fixed most of them. |
Thanks, fixes look good! Next step is review from Florian (@octo) for the v6 version of the PR. (He hasn't been active for a while, but hopefully you don't need to wait too long...) |
This is initial implementation for notify_telegram plugin. Later I will create PR for collectd 6 also.
The notify_telegram plugin uses libcurl and Telegram Bot API to send notifications to a configured telegram users.
It also can send config instruction with ChatID in response to all users by long polling or webhooks using libcurl, libyajl, libmicrohttpd.
ChangeLog: Introduce notify_telegram plugin
Reference: https://core.telegram.org/bots/api