Monitor Cinder API and Scheduler
Change-Id: I159facb491d9a722d8c067ead25c470f00b83939
This commit is contained in:
parent
11f072639b
commit
bc54e72fd3
@ -557,6 +557,18 @@ conf:
|
|||||||
service_description: "API_swift"
|
service_description: "API_swift"
|
||||||
check_command: check_prom_alert!swift_api_availability!CRITICAL- Swift API at {url} is not available!OK- Swift API is available
|
check_command: check_prom_alert!swift_api_availability!CRITICAL- Swift API at {url} is not available!OK- Swift API is available
|
||||||
check_interval: 60
|
check_interval: 60
|
||||||
|
- check_cinder_api:
|
||||||
|
use: notifying_service
|
||||||
|
hostgroup_name: prometheus-hosts
|
||||||
|
service_description: "API_cinder"
|
||||||
|
check_command: check_prom_alert!os_cinder_api_availability!CRITICAL- Cinder API at {url} is not available!OK- Cinder API is available
|
||||||
|
check_interval: 60
|
||||||
|
- check_service_cinder_scheduler:
|
||||||
|
use: notifying_service
|
||||||
|
hostgroup_name: prometheus-hosts
|
||||||
|
service_description: "Service_cinder-scheduler"
|
||||||
|
check_command: check_prom_alert!os_cinder_scheduler_availability!CRITICAL- Cinder scheduler is not available!OK- Cinder scheduler is available
|
||||||
|
check_interval: 60
|
||||||
- check_service_nova_compute:
|
- check_service_nova_compute:
|
||||||
use: notifying_service
|
use: notifying_service
|
||||||
hostgroup_name: prometheus-hosts
|
hostgroup_name: prometheus-hosts
|
||||||
|
@ -1454,6 +1454,22 @@ conf:
|
|||||||
annotations:
|
annotations:
|
||||||
description: 'Swift API is not available at {{$labels.url}} for more than 5 minutes'
|
description: 'Swift API is not available at {{$labels.url}} for more than 5 minutes'
|
||||||
summary: 'Swift API is not available at {{$labels.url}}'
|
summary: 'Swift API is not available at {{$labels.url}}'
|
||||||
|
- alert: os_cinder_api_availability
|
||||||
|
expr: openstack_check_cinder_api != 1
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: page
|
||||||
|
annotations:
|
||||||
|
description: 'Cinder API is not available at {{$labels.url}} for more than 5 minutes'
|
||||||
|
summary: 'Cinder API is not available at {{$labels.url}}'
|
||||||
|
- alert: os_cinder_scheduler_availability
|
||||||
|
expr: openstack_services_cinder_cinder_scheduler != 1
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: page
|
||||||
|
annotations:
|
||||||
|
description: 'Cinder scheduler is not available for more than 5 minutes'
|
||||||
|
summary: 'Cinder scheduler is not available'
|
||||||
- alert: os_nova_compute_disabled
|
- alert: os_nova_compute_disabled
|
||||||
expr: services_nova_compute_disabled_total > 0
|
expr: services_nova_compute_disabled_total > 0
|
||||||
for: 5m
|
for: 5m
|
||||||
|
Loading…
Reference in New Issue
Block a user