mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
fix: align OpenStack load balancer alert name with operating_status semantics
The operating_status label uses ONLINE/OFFLINE/DEGRADED/ERROR values, not ACTIVE. Rename alert to "not online" and use the label in the description for clarity.
This commit is contained in:
parent
c6d1e77448
commit
edddfcc272
1 changed files with 2 additions and 2 deletions
|
|
@ -3182,8 +3182,8 @@ groups:
|
||||||
query: 'openstack_neutron_ports_no_ips > 0'
|
query: 'openstack_neutron_ports_no_ips > 0'
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 5m
|
for: 5m
|
||||||
- name: OpenStack load balancer not active
|
- name: OpenStack load balancer not online
|
||||||
description: "Load balancer {{ $labels.name }} ({{ $labels.id }}) is not in ACTIVE operating state"
|
description: "Load balancer {{ $labels.name }} ({{ $labels.id }}) operating status is {{ $labels.operating_status }}"
|
||||||
query: 'openstack_loadbalancer_loadbalancer_status{operating_status!="ONLINE"} > 0'
|
query: 'openstack_loadbalancer_loadbalancer_status{operating_status!="ONLINE"} > 0'
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 5m
|
for: 5m
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue