Add alarms for Nova aggregates

Change-Id: Ia82d5baf754d2d61c2bfa6d882ace3c8d094eafc
Depends-On: I6647600d73991bfbfc7b7c199a7f9b90b9294f68
This commit is contained in:
Olivier Bourdon 2017-01-19 13:32:11 +01:00
parent da8188d8cb
commit dd5d89f7c9
3 changed files with 68 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ lma_collector:
description: 'There is none memory available for new instances'
severity: 'warning'
enabled: 'true'
no_data_policy: skip # the metric is only collected from the aggregator node
no_data_policy: skip # the metric is only collected from the aggregator node
trigger:
rules:
- metric: openstack_nova_total_free_ram
@ -1178,6 +1178,34 @@ lma_collector:
window: 60
periods: 0
function: max
- name: 'nova-aggregates-free-memory-warning'
description: "The nova aggregates free memory percent is low"
severity: 'warning'
enabled: 'true'
no_data_policy: skip # the metric is only collected from the aggregator node
trigger:
rules:
- metric: openstack_nova_aggregate_free_ram_percent
group_by: [aggregate]
relational_operator: '<'
threshold: 10.0
window: 60
periods: 0
function: min
- name: 'nova-aggregates-free-memory-critical'
description: "The nova aggregates free memory percent is too low"
severity: 'critical'
enabled: 'true'
no_data_policy: skip # the metric is only collected from the aggregator node
trigger:
rules:
- metric: openstack_nova_aggregate_free_ram_percent
group_by: [aggregate]
relational_operator: '<'
threshold: 1.0
window: 60
periods: 0
function: min
# Adds alarm on local check for OpenStack services endpoint
- name: 'cinder-api-local-endpoint'
@ -3576,6 +3604,11 @@ lma_collector:
members:
nova-free-memory:
alarms: ['total-nova-free-memory-warning']
nova-aggregates-free-memory:
alerting: enabled
members:
nova-aggregates-free-memory:
alarms: ['nova-aggregates-free-memory-critical', 'nova-aggregates-free-memory-warning']
ceph-mon-cluster:
apply_to_node: ceph-mon
alerting: enabled

View File

@ -634,6 +634,11 @@ lma_collector:
group_by: member
members:
- nova-free-memory
nova-aggregates-free-memory:
policy: highest_severity
group_by: member
members:
- nova-aggregates-free-memory
gse_cluster_node:
input_message_types:
@ -812,6 +817,7 @@ lma_collector:
- libvirt-service
- nova-free-vcpu
- nova-free-memory
- nova-aggregates-free-memory
hints:
- neutron-data-plane
cinder-control-plane:

View File

@ -1187,6 +1187,34 @@ The following is a list of StackLight built-in alarms::
window: 60
periods: 0
function: max
- name: 'nova-aggregates-free-memory-warning'
description: "The nova aggregates free memory percent is low"
severity: 'warning'
enabled: 'true'
no_data_policy: skip # the metric is only collected from the aggregator node
trigger:
rules:
- metric: openstack_nova_aggregate_free_ram_percent
group_by: [aggregate]
relational_operator: '<'
threshold: 10.0
window: 60
periods: 0
function: min
- name: 'nova-aggregates-free-memory-critical'
description: "The nova aggregates free memory percent is too low"
severity: 'critical'
enabled: 'true'
no_data_policy: skip # the metric is only collected from the aggregator node
trigger:
rules:
- metric: openstack_nova_aggregate_free_ram_percent
group_by: [aggregate]
relational_operator: '<'
threshold: 1.0
window: 60
periods: 0
function: min
# Adds alarm on local check for OpenStack services endpoint
- name: 'cinder-api-local-endpoint'