[doc] Remove the collectd-openstack-plugins alarms section in the heat scaling guide
* Also removed the sample template threshold.yaml Change-Id: I2c18bf8edd87a2fe7489a3916518a5eb3407148c closes-bug: #1729903
This commit is contained in:
parent
5ad0461e06
commit
682ffbb438
@ -1,59 +0,0 @@
|
|||||||
heat_template_version: 2014-10-16
|
|
||||||
description: A simple auto-scalable server, based on a threshold alarm.
|
|
||||||
|
|
||||||
resources:
|
|
||||||
group:
|
|
||||||
type: OS::Heat::AutoScalingGroup
|
|
||||||
properties:
|
|
||||||
cooldown: 60
|
|
||||||
desired_capacity: 2
|
|
||||||
max_size: 3
|
|
||||||
min_size: 1
|
|
||||||
resource:
|
|
||||||
type: OS::Nova::Server
|
|
||||||
properties:
|
|
||||||
image: cirros-0.3.5-x86_64-disk
|
|
||||||
flavor: m1.nano
|
|
||||||
networks:
|
|
||||||
- network: public
|
|
||||||
key_name: scale
|
|
||||||
|
|
||||||
scaleup_policy:
|
|
||||||
type: OS::Heat::ScalingPolicy
|
|
||||||
properties:
|
|
||||||
adjustment_type: change_in_capacity
|
|
||||||
auto_scaling_group_id: { get_resource: group }
|
|
||||||
cooldown: 60
|
|
||||||
scaling_adjustment: 1
|
|
||||||
|
|
||||||
scaledown_policy:
|
|
||||||
type: OS::Heat::ScalingPolicy
|
|
||||||
properties:
|
|
||||||
adjustment_type: change_in_capacity
|
|
||||||
auto_scaling_group_id: { get_resource: group }
|
|
||||||
cooldown: 60
|
|
||||||
scaling_adjustment: -1
|
|
||||||
|
|
||||||
no_change_policy:
|
|
||||||
type: OS::Heat::ScalingPolicy
|
|
||||||
properties:
|
|
||||||
adjustment_type: change_in_capacity
|
|
||||||
auto_scaling_group_id: { get_resource: group }
|
|
||||||
cooldown: 60
|
|
||||||
scaling_adjustment: 0
|
|
||||||
|
|
||||||
cpu_alarm_high:
|
|
||||||
type: OS::Aodh::Alarm
|
|
||||||
properties:
|
|
||||||
meter: cpu.cpu
|
|
||||||
threshold: 1
|
|
||||||
period: 60
|
|
||||||
evaluation_period: 1
|
|
||||||
alarm_actions:
|
|
||||||
- {get_attr: [scaleup_policy, alarm_url]}
|
|
||||||
ok_actions:
|
|
||||||
- {get_attr: [scaledown_policy, alarm_url]}
|
|
||||||
insufficient_actions:
|
|
||||||
- {get_attr: [no_change_policy, alarm_url]}
|
|
||||||
comparison_operator: gt
|
|
||||||
statistic: max
|
|
@ -38,7 +38,7 @@ policies.
|
|||||||
The collectd-gnocchi plugin only supports certain types of Aodh alarms.
|
The collectd-gnocchi plugin only supports certain types of Aodh alarms.
|
||||||
Please find a list of these options in:
|
Please find a list of these options in:
|
||||||
|
|
||||||
https://github.com/openstack/collectd-ceilometer-plugin/blob/master/doc/source/alarms_guide.rst.
|
https://github.com/openstack/collectd-ceilometer-plugin/blob/master/doc/source/alarms_guide.rst
|
||||||
|
|
||||||
|
|
||||||
Creating a heat template for auto-scaling
|
Creating a heat template for auto-scaling
|
||||||
@ -125,23 +125,6 @@ it has scaled up/down via:
|
|||||||
openstack server list
|
openstack server list
|
||||||
|
|
||||||
|
|
||||||
collectd-ceilometer-plugin alarms
|
|
||||||
---------------------------------
|
|
||||||
|
|
||||||
As described in alarms_guide.rst, this plugin allows you to create Aodh
|
|
||||||
threshold alarms. This type of alarm can be defined in a heat template using
|
|
||||||
an OS::Aodh::Alarm resource.
|
|
||||||
Define this resource with the ceilometer meter that you want to monitor and
|
|
||||||
the threshold you want the alarm to be triggered at.
|
|
||||||
For more information on this resource:
|
|
||||||
https://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Aodh::Alarm
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
threshold_alarm:
|
|
||||||
type: OS::Aodh::Alarm
|
|
||||||
|
|
||||||
|
|
||||||
collectd-gnocchi-plugin alarms
|
collectd-gnocchi-plugin alarms
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user