【文件属性】:
文件名称:cabot_alert_telegram:使用Telegram接收来自您的cabot实例的警报
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-11 21:53:47
alert monitoring telegram cabot Python
卡博特电报插件
基于: :
这是cabot服务监视工具的警报插件。 它使您可以使用聊天室向用户发出警报。
安装
进入cabot虚拟环境:
$ pip install cabot_alert_telegram
$ foreman stop
或者:
$ pip install git+git://github.com/codesyntax/cabot_alert_telegram.git
$ foreman stop
编辑conf / *。env:
CABOT_PLUGINS_ENABLED=cabot_alert_telegram=0.6
...
TELEGRAM_BOT_TOKEN=bot_token
TELEGRAM_CHAT_ID=id of the chat where messages will be sent
将cabot_alert_telegram添加到setti