Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion etc/kayobe/kolla/config/prometheus/openstack.rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,14 @@ groups:
annotations:
summary: "{{ $labels.service }} at {{ $labels.hostname }} is down"
description: "OpenStack service {{ $labels.service }} at {{ $labels.hostname }} is down"

- name: Routers
rules:
- alert: OpenStackRouterDown
expr: count by (router_id) (openstack_neutron_l3_agent_of_router{ha_state="active"}) != 1
for: 1m
labels:
severity: alert
annotations:
summary: "The router {{ $labels.router_id }} is not active on eactly one agent"
description: "The router {{ $labels.router_id }} should be active on exactly one agent. It can either active on multiple agents or not active at all."
{% endraw %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
Adds an alert to check that there is at least one active router on ML2/OVS based
deployments.
Loading