Remove examples for triggers

this patch removes the trigger examples.

Change-Id: I0f2ad1aa230c5108f7deb92c9dfbea48aee18763
Closes-Bug: #1520027
This commit is contained in:
Jun, Xu 2015-11-26 01:23:05 +00:00
parent eac42b3732
commit e1293cb0fd
5 changed files with 0 additions and 78 deletions

View File

@ -1,13 +0,0 @@
# Sample trigger using gnocchi aggegration by metrics alarm
type: CeilometerAggMetricsThresholdAlarm
version: 1.0
rule:
comparison_operator: lt
threshold: 15
granularity: 60
evaluation_periods: 1
aggregation_method: avg
repeat_actions: True
metrics: [cpu_util]

View File

@ -1,17 +0,0 @@
# Sample trigger using gnocchi aggregation by resources alarm
type: CeilometerAggResourceThresholdAlarm
version: 1.0
rule:
metric: cpu_util
comparison_operator: lt
threshold: 15
granularity: 60
evaluation_periods: 1
aggregation_method: avg
repeat_actions: True
resource_type: instance
query:
resource.metadata.host==a00bcefffc1f8b5e29ca924a968a6097431673db7f5567189bd53268

View File

@ -1,10 +0,0 @@
# Sample trigger using ceilometer combination alarms
type: CeilometerCombinationAlarm
version: 1.0
combination_rule:
operator: and
alarm_ids:
- 01e3656a-252d-4308-a454-cd5fd1f0a56f
- d2ee61f9-c946-4368-a260-ae204fa36fb6

View File

@ -1,23 +0,0 @@
# Sample trigger using ceilometer threshold alarm
type: CeilometerThresholdAlarm
version: 1.0
time_constraints:
- name: a_time_constraint
start: '* * * * * *'
duration: 3600
description: a time constraint
timezone: 'Asia/Shanghai'
rule:
meter_name: cpu_util
comparison_operator: lt
threshold: 15
period: 60
evaluation_periods: 1
statistic: avg
query:
- field: resource_metadata.cluster
op: eq
value: cluster1

View File

@ -1,15 +0,0 @@
# Sample trigger using ceilometer gnocchi resources threshold alarm
type: CeilometerThresholdResourcesAlarm
version: 1.0
rule:
metric: cpu_util
comparison_operator: lt
threshold: 15
granularity: 60
evaluation_periods: 1
aggregation_method: avg
repeat_actions: True
resource_type: instance
resource_id: fcb66ae3-ac0e-4357-b337-d201accced35-hdd