Commit 9b06a7ea authored by Daniel Baur's avatar Daniel Baur

Let's test this...

parent b27fa1ac
...@@ -81,6 +81,8 @@ node_types: ...@@ -81,6 +81,8 @@ node_types:
collectors_config: collectors_config:
default: default:
CPUCollector: {} CPUCollector: {}
config:
simple: true
MemoryCollector: {} MemoryCollector: {}
LoadAverageCollector: {} LoadAverageCollector: {}
DiskUsageCollector: DiskUsageCollector:
...@@ -270,8 +272,8 @@ groups: ...@@ -270,8 +272,8 @@ groups:
# policy specific configuration # policy specific configuration
properties: properties:
# Configure it # Configure it
service: cpu service: cpu_total_system
threshold: 50 threshold: 5
upper_bound: true upper_bound: true
# Name of the service we want to shortlist (using regular expressions) and # Name of the service we want to shortlist (using regular expressions) and
...@@ -281,7 +283,7 @@ groups: ...@@ -281,7 +283,7 @@ groups:
# - system # - system
triggers: triggers:
axLW_trigger: scale_trigger:
# using the 'execute_workflow' policy trigger # using the 'execute_workflow' policy trigger
type: cloudify.policies.triggers.execute_workflow type: cloudify.policies.triggers.execute_workflow
parameters: parameters:
...@@ -295,6 +297,4 @@ groups: ...@@ -295,6 +297,4 @@ groups:
# 'node_id' will be the node instance id # 'node_id' will be the node instance id
# of the node that failed. In our case, it will be # of the node that failed. In our case, it will be
# something like 'some_vm_afd34' # something like 'some_vm_afd34'
node_id: { get_property: [SELF, node_id] } node_id: { get_property: [SELF, node_id] }
delta: 1 \ No newline at end of file
scale_compute: true
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment