<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px;"><br style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px;"><div dir="ltr" style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px;">Hello all,<div><br></div><div><span style="line-height: 19.600000381469727px; color: rgb(75, 75, 75); font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px;">I am running Havana on Ubuntu 12.04. </span><span style="line-height: 19.600000381469727px; color: rgb(75, 75, 75); font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px;">I have created a template which creates a stack that autoscales based on cpu utilization. I am able to successfully create the stack thru Horizon by importing a template that I have created. The problem is my alarm action is not working properly. In the ceiloemeter-alarm-notifier log I am seeing the following errror: </span></div><div><span style="line-height: 19.600000381469727px; color: rgb(75, 75, 75); font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px;"><br style="line-height: 19.8799991607666px;"></span></div><div><pre class="ecxprettyprint" style="line-height: 18px; white-space: pre-wrap; font-family: Menlo, Monaco, 'Courier New', monospace; font-size: 12.025px; background-color: rgb(245, 245, 245); padding: 2px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: 1px solid rgb(136, 136, 136); word-break: break-all; word-wrap: break-word; clear: both;"><code style="line-height: 17.075498580932617px; font-family: Menlo, Monaco, 'Courier New', monospace; padding: 0px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px; clear: both;"><span class="ecxlit" style="color: rgb(0, 102, 102);">2014</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">03</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">27</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxlit" style="color: rgb(0, 102, 102);">21</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxlit" style="color: rgb(0, 102, 102);">56</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxlit" style="color: rgb(0, 102, 102);">14.617</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxlit" style="color: rgb(0, 102, 102);">11258</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> ERROR ceilometer</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">alarm</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">service </span><span class="ecxpun" style="color: rgb(102, 102, 0);">[</span><span class="ecxpln" style="color: rgb(0, 0, 0);">req</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">94c6c466</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">760d</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">4b63</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);">a186</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);">a994bcb881ce </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">None</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">None</span><span class="ecxpun" style="color: rgb(102, 102, 0);">]</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Action</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">for</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> alarm </span><span class="ecxlit" style="color: rgb(0, 102, 102);">636a4dc3</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);">a15d</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">4093</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">97a8</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);">d4e9f6c50cf4 </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">is</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> unknown</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> cannot notify</span></code></pre><p style="line-height: 1.4; margin-bottom: 1.35em; padding-right: 5px; padding-bottom: 5px; border: none; font-size: 14px; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">It appears that this is the code from service.py that is generating the error in the logfile:</p><p style="line-height: 1.4; margin-bottom: 1.35em; padding-right: 5px; padding-bottom: 5px; border: none; font-size: 14px; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);"><br style="line-height: 19.8799991607666px;"></p><pre style="white-space: pre-wrap; word-wrap: break-word;">try:
notifier = self.notifiers[action.scheme].obj
except KeyError:
scheme = action.scheme
LOG.error(
_("Action %(scheme)s for alarm %(alarm_id)s is unknown, "
"cannot notify"),
{'scheme': scheme, 'alarm_id': alarm_id})
return</pre><p style="line-height: 1.4; margin-bottom: 1.35em; padding-right: 5px; padding-bottom: 5px; border: none; font-size: 14px; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">I freely admit I am no python expert and was able to find this bit of code thru some searching of the repository.</p><p style="line-height: 1.4; margin-bottom: 1.35em; padding-right: 5px; padding-bottom: 5px; border: none; font-size: 14px; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);"><br style="line-height: 19.8799991607666px;"></p><p style="line-height: 1.4; margin-bottom: 1.35em; padding-right: 5px; padding-bottom: 5px; border: none; font-size: 14px; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">My Template is as follows:</p><p style="line-height: 1.4; margin-bottom: 1.35em; padding-right: 5px; padding-bottom: 5px; border: none; font-size: 14px; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);"><br style="line-height: 19.8799991607666px;"></p><pre class="ecxprettyprint" style="line-height: 18px; white-space: pre-wrap; font-family: Menlo, Monaco, 'Courier New', monospace; font-size: 12.025px; background-color: rgb(245, 245, 245); padding: 2px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: 1px solid rgb(136, 136, 136); word-break: break-all; word-wrap: break-word; clear: both;"><code style="line-height: 17.075498580932617px; font-family: Menlo, Monaco, 'Courier New', monospace; padding: 0px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px; clear: both;"><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">HeatTemplateFormatVersion</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'2012-12-12'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Autoscaling</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> demo </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">using</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ceilometer</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Parameters</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">KeyName</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Name</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> of an existing EC2 </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">KeyPair</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> to enable SSH access to the instances
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">String</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">InstanceType</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">WebServer</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> EC2 instance type
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">String</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Default</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> m1</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">small
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AllowedValues</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">[</span><span class="ecxpln" style="color: rgb(0, 0, 0);">m1</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">tiny</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> m1</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">small</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> m1</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">medium</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> m1</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">large</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> m1</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">xlarge</span><span class="ecxpun" style="color: rgb(102, 102, 0);">]</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ConstraintDescription</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> must be a valid EC2 instance type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">.</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ImageId</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> the name </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">or</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> uuid of the image </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">in</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> glance
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">String</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Default</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> d947c1fa</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">6099</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">4a02</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">914e-0cc74f79bbce</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Resources</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Group_A</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> AWS</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScaling</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScalingGroup</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Properties</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AvailabilityZones</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxstr" style="color: rgb(0, 136, 0);">'Fn::GetAZs'</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">''</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">LaunchConfigurationName</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">LaunchConfig</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">MinSize</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'1'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">MaxSize</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'4'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">VPCZoneIdentifier</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">[</span><span class="ecxlit" style="color: rgb(0, 102, 102);">5b17524d</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">8483</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">48d2</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">836f</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxlit" style="color: rgb(0, 102, 102);">00124e1ca64d</span><span class="ecxpun" style="color: rgb(102, 102, 0);">]</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">WebServerScaleUpPolicy</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> AWS</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScaling</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ScalingPolicy</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Properties</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AdjustmentType</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ChangeInCapacity</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScalingGroupName</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Group_A</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Cooldown</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'60'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ScalingAdjustment</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'1'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">WebServerScaleDownPolicy</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> AWS</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScaling</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ScalingPolicy</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Properties</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AdjustmentType</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ChangeInCapacity</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScalingGroupName</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Group_A</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Cooldown</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'60'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ScalingAdjustment</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'-1'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">CPUAlarmHigh</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> OS</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ceilometer</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Alarm</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Properties</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Scale</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);">up </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">if</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> the average CPU </span><span class="ecxpun" style="color: rgb(102, 102, 0);">></span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxlit" style="color: rgb(0, 102, 102);">50</span><span class="ecxpun" style="color: rgb(102, 102, 0);">%</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">for</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxlit" style="color: rgb(0, 102, 102);">1</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> minute
meter_name</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> cpu_util
statistic</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> avg
period</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'60'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
evaluation_periods</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'1'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
threshold</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'50'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
alarm_actions</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxstr" style="color: rgb(0, 136, 0);">"Fn::GetAtt"</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">[</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">WebServerScaleUpPolicy</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AlarmUrl</span><span class="ecxpun" style="color: rgb(102, 102, 0);">]}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
matching_metadata</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxstr" style="color: rgb(0, 136, 0);">'metadata.user_metadata.groupname'</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'Group_A'</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
comparison_operator</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> gt
repeat_actions</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">True</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">CPUAlarmLow</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> OS</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ceilometer</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Alarm</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Properties</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Scale</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);">down </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">if</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> the average CPU </span><span class="ecxpun" style="color: rgb(102, 102, 0);"><</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxlit" style="color: rgb(0, 102, 102);">15</span><span class="ecxpun" style="color: rgb(102, 102, 0);">%</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">for</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxlit" style="color: rgb(0, 102, 102);">1</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> minute
meter_name</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> cpu_util
statistic</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> avg
period</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'60'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
evaluation_periods</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'1'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
threshold</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'15'</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
alarm_actions</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxstr" style="color: rgb(0, 136, 0);">"Fn::GetAtt"</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">[</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">WebServerScaleDownPolicy</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AlarmUrl</span><span class="ecxpun" style="color: rgb(102, 102, 0);">]}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
matching_metadata</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxstr" style="color: rgb(0, 136, 0);">'metadata.user_metadata.groupname'</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxstr" style="color: rgb(0, 136, 0);">'Group_A'</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
comparison_operator</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> lt
repeat_actions</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxkwd" style="color: rgb(0, 0, 136);">True</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">LaunchConfig</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Type</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> AWS</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">AutoScaling</span><span class="ecxpun" style="color: rgb(102, 102, 0);">::</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">LaunchConfiguration</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Properties</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ImageId</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ImageId</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">InstanceType</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">InstanceType</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">KeyName</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Ref</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">KeyName</span><span class="ecxpun" style="color: rgb(102, 102, 0);">}</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Outputs</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">ServerList</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Description</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">List</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> of </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Instances</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Value</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);">
</span><span class="ecxpun" style="color: rgb(102, 102, 0);">-</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Instance_List</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">{</span><span class="ecxstr" style="color: rgb(0, 136, 0);">'Fn::GetAtt'</span><span class="ecxpun" style="color: rgb(102, 102, 0);">:</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxpun" style="color: rgb(102, 102, 0);">[</span><span class="ecxtyp" style="color: rgb(102, 0, 102);">Group_A</span><span class="ecxpun" style="color: rgb(102, 102, 0);">,</span><span class="ecxpln" style="color: rgb(0, 0, 0);"> </span><span class="ecxtyp" style="color: rgb(102, 0, 102);">InstanceList</span><span class="ecxpun" style="color: rgb(102, 102, 0);">]}</span></code></pre></div><div><code style="line-height: 17.075498580932617px; font-family: Menlo, Monaco, 'Courier New', monospace; padding: 0px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px; clear: both;"><span class="ecxpun" style="color: rgb(102, 102, 0);"><br></span></code></div></div> </div></body>
</html>