3.4.3 • Published 1 year ago
koishi-plugin-alertmanager v3.4.3
koishi-plugin-alertmanager
Alertmanager Webhook 接收器。
安装
npm
npm install koishi-plugin-alertmanager
直接安装
在 https://cdn02.moecube.com:444/nanahira/koishi-plugin/alertmanager/index.js 下载即可。
配置
插件配置
path: '/alertmanager'
instances:
- token: abcdefg # alertmanager 中的 credentials 字段
title: '警报'
targets: # 发送对象
- bot: onebot:123456789
users:
- '111111111' # 私聊发送
channels:
- channelId: '222222222' # 群聊发送
guildId: '333333333' # 可选,如果有两级群组的话
alertmanager 配置
route:
receiver: 'koishi'
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
group_by: [cluster, alertname]
receivers:
- name: koishi
webhook_configs:
- send_resolved: true
url: http://koishi.example.com/alertmanager
http_config:
authorization:
credentials: abcdefg
3.4.3
1 year ago
3.4.0
1 year ago
3.3.0
1 year ago
3.2.0
2 years ago
3.4.2
1 year ago
3.4.1
1 year ago
3.1.3
2 years ago
3.1.2
2 years ago
3.0.3
2 years ago
3.1.1
2 years ago
3.1.0
2 years ago
2.2.1
2 years ago
2.1.2
2 years ago
2.2.0
2 years ago
2.1.1
2 years ago
2.2.3
2 years ago
2.2.2
2 years ago
2.1.3
2 years ago
2.2.5
2 years ago
2.2.4
2 years ago
2.2.6
2 years ago
2.1.0
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago