blackbox.rules 808 B

1234567891011121314151617181920212223
  1. groups:
  2. - name: blackboxExporter
  3. rules:
  4. - alert: clickhouseServerDown
  5. expr: probe_success{job="blackbox_clickhouse_instance"} != 1
  6. for: 30s
  7. labels:
  8. severity: warning
  9. type: ops
  10. annotations:
  11. summary: "clickhouse instance {{ $labels.instance }} is down"
  12. description: "clickhouse instance down\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
  13. - alert: ckkeeperServerDown
  14. expr: probe_success{job="blackbox_ckkeeper_instance"} != 1
  15. for: 30s
  16. labels:
  17. severity: warning
  18. type: ops
  19. annotations:
  20. summary: "clickhouse keeper instance {{ $labels.instance }} is down"
  21. description: "clickhouse keeper instance down\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"