Skip to content

Commit

Permalink
Adjust calico-exporter-rules
Browse files Browse the repository at this point in the history
Signed-off-by: wrongerror <[email protected]>
  • Loading branch information
wrongerror committed May 31, 2024
1 parent dc9d07a commit 731b09d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-node-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- prometheus
- exporter
type: application
version: 4.21.6
version: 4.21.7
appVersion: 1.6.0
home: https://github.com/prometheus/node_exporter/
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,30 @@ spec:
- alert: CalicoBGPBirdDown
annotations:
description: 'Calico BGP bird {{ $labels.instance }} ({{ $labels.router_id }}) is down.'
runbook_url: https://alert-runbooks.kubesphere.io/runbooks/calico/calicobgpbirddown
summary: Calico BGP bird is down.
expr: |
calico_bgp_bird_info{up="false"} == 1
for: 5m
labels:
rule_id: 6a9f0b8a4c7e4c9d8f3b5a6c0d8f9e7b
severity: critical
- alert: CalicoBirdLastRebootTimestampChanged
expr: increase(calico_bgp_bird_last_reboot_timestamp_seconds[5m]) > 5
labels:
rule_id: e7b8f9a6c0d8f3b7a6c0d8f9e7d9d6b4
severity: warn
severity: warning
annotations:
summary: Calico BGP bird last reboot timestamp has changed.
description: "Calico BGP bird {{ $labels.instance }} ({{ $labels.router_id }}) last reboot timestamp has changed."
runbook_url: https://alert-runbooks.kubesphere.io/runbooks/calico/calicobirdlastreboottimestampchanged
- alert: CalicoBGPPeerStateAbnormal
annotations:
description: 'Calico BGP peer {{ $labels.name }} ({{ $labels.ip }}) is not in established state.'
runbook_url: https://alert-runbooks.kubesphere.io/runbooks/calico/calicobgppeerstateabnormal
summary: Calico BGP peer connection state is abnormal.
expr: |
calico_bgp_peer_info{conn_state!="Established"} == 1
for: 5m
labels:
rule_id: 8f7c4f0a9d6a4b0c9f3a7b8c6d7f8e9c
severity: warning
- alert: CalicoIPPoolUsageHigh
annotations:
description: 'Calico IP pool {{ $labels.name }} ({{ $labels.cidr }}) has {{ $value | humanizePercentage }} of IPs allocated.'
runbook_url: https://alert-runbooks.kubesphere.io/runbooks/calico/calicopoolusagehigh
summary: Calico IP pool usage is high.
expr: |
calico_ippool_allocated_ips / calico_ippool_capacity >= 0.9
for: 5m
labels:
rule_id: a7b8c9d0e1f2g3h4i5j6k7l8m9n0o1p2
severity: warning

0 comments on commit 731b09d

Please sign in to comment.