otter挂起监控自动解挂报警工具

555次阅读
没有评论

共计 547 个字符,预计需要花费 2 分钟才能阅读完成。

https://github.com/typ431127/otter-dingtalk

otter 同步异常钉钉报警工具

这是一个简单的 otter 同步钉钉报警工具

  • 发送异常信息到钉钉群机器人
  • 延迟过大报警以及恢复正常通知
  • 异常挂起抓取日志信息以及自动解挂
  • binlog 位置点显示
  • 源库信息显示
  • 同步与恢复时间显示

使用如下:

/usr/local/otter-alert/otter-dingtalk –zk 192.168.100.xxx:2181 \ –mysql_host 192.168.100.xxxxx:3306 \ –mysql_pass ‘xxxxxxxxxxxx’ \ –mysql_db ‘otter’ \ –token xxxxxxxxxxxxxxxx \ –secret xxxxxxxxxxxxxx \ –refresh 5m \ –env 开发环境 \ –otter-url http://192.168.100.xxx:8080 \ –otter-username admin \ –otter-password xxxxx \ -c 29 -c 30 -c 31 -c 33 -c 35 -c 36 -c 38

  • - c 参数为指定监控的 channelID , 可以为 all,也可以分开指定要监控的 channelID

异常挂起报警以及自动解挂恢复

otter 挂起监控自动解挂报警工具

延迟过大报警以及自动恢复

otter 挂起监控自动解挂报警工具
正文完
 0
ddn
版权声明:本站原创文章,由 ddn 2023-09-22发表,共计547字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)