我们正在使用带有电子邮件处理器的sensu go。在sensu go中,有没有办法像sensu核心一样使用发生、刷新?
发布于 2020-05-14 08:53:42
Sensu贡献者在这里
occurrence和refresh属性在Sensu Go中不再存在/有效。如果你想要类似的行为,我建议你看看fatigue check filter。你最终会得到一个看起来像这样的支票:
---
type: CheckConfig
api_version: core/v2
metadata:
name: linux-cpu-check
namespace: default
annotations:
fatigue_check/occurrences: '3'
fatigue_check/interval: '900'
fatigue_check/allow_resolution: 'false'
spec:
command: check-cpu -w 90 c 95
handlers:
- email
interval: 60
publish: true
runtime_assets:
subscriptions:
- linuxhttps://stackoverflow.com/questions/58857162
复制相似问题