<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.openstack.org/w/index.php?action=history&amp;feed=atom&amp;title=Heat%2FUsing-CloudWatch</id>
		<title>Heat/Using-CloudWatch - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.openstack.org/w/index.php?action=history&amp;feed=atom&amp;title=Heat%2FUsing-CloudWatch"/>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;action=history"/>
		<updated>2026-07-09T02:13:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=25147&amp;oldid=prev</id>
		<title>Blues-man at 09:30, 1 July 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=25147&amp;oldid=prev"/>
				<updated>2013-07-01T09:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:30, 1 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/opt/aws/bin/cfn-push-stats --watch [[MyOwnAlarm]] [other args]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/opt/aws/bin/cfn-push-stats --watch [[MyOwnAlarm]] [other args]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To see this all together look at the [https://github.com/heat-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;api/heat/blob&lt;/del&gt;/master/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;templates&lt;/del&gt;/WordPress_Single_Instance_With_HA.template HA template]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To see this all together look at the [https://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;raw.&lt;/ins&gt;github.com&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/openstack&lt;/ins&gt;/heat-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;templates&lt;/ins&gt;/master/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cfn&lt;/ins&gt;/WordPress_Single_Instance_With_HA.template HA template]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[CloudWatch]] API ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[CloudWatch]] API ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key openstack_wiki:diff:version:1.11a:oldid:22454:newid:25147 --&gt;
&lt;/table&gt;</summary>
		<author><name>Blues-man</name></author>	</entry>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=22454&amp;oldid=prev</id>
		<title>Shardy at 07:58, 14 May 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=22454&amp;oldid=prev"/>
				<updated>2013-05-14T07:58:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:58, 14 May 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: the current cloud watch implementation is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;incomplete (it's only sufficient &lt;/del&gt;for &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/del&gt;HA&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;](https://github&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;com/heat-api/heat/wiki/Using-HA)). But should &lt;/del&gt;be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;easy &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;make more generally useful&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: the current cloud watch implementation is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a minimal implementation, and does not provide feature parity with AWS Cloudwatch.&amp;#160; It is primarily required to enable metric collection &lt;/ins&gt;for HA &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and Autoscaling functionality, but can also be used to configure user defined alarms, as outlined below&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; This feature will &lt;/ins&gt;be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;deprecated or removed during the Havana cycle as we move &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;using Ceilometer as a metric/alarm service instead&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use cloud watch you need the following in your template:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use cloud watch you need the following in your template:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key openstack_wiki:diff:version:1.11a:oldid:17144:newid:22454 --&gt;
&lt;/table&gt;</summary>
		<author><name>Shardy</name></author>	</entry>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=17144&amp;oldid=prev</id>
		<title>Ryan Lane: Text replace - &quot;__NOTOC__&quot; to &quot;&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=17144&amp;oldid=prev"/>
				<updated>2013-02-17T23:30:00Z</updated>
		
		<summary type="html">&lt;p&gt;Text replace - &amp;quot;__NOTOC__&amp;quot; to &amp;quot;&amp;quot;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:30, 17 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;__NOTOC__&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: the current cloud watch implementation is incomplete (it's only sufficient for [HA](https://github.com/heat-api/heat/wiki/Using-HA)). But should be easy to make more generally useful.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: the current cloud watch implementation is incomplete (it's only sufficient for [HA](https://github.com/heat-api/heat/wiki/Using-HA)). But should be easy to make more generally useful.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key openstack_wiki:diff:version:1.11a:oldid:16267:newid:17144 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ryan Lane</name></author>	</entry>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=16267&amp;oldid=prev</id>
		<title>Ladquin at 00:54, 17 February 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=16267&amp;oldid=prev"/>
				<updated>2013-02-17T00:54:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:54, 17 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: the current cloud watch implementation is incomplete (it only sufficient for [HA](https://github.com/heat-api/heat/wiki/Using-HA)). But should be easy to make more generally useful.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note: the current cloud watch implementation is incomplete (it&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'s &lt;/ins&gt;only sufficient for [HA](https://github.com/heat-api/heat/wiki/Using-HA)). But should be easy to make more generally useful.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use cloud watch you need the following in your template:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To use cloud watch you need the following in your template:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/opt/aws/bin/cfn-push-stats --watch [[MyOwnAlarm]] [other args]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/opt/aws/bin/cfn-push-stats --watch [[MyOwnAlarm]] [other args]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To see this all together look at the [&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;HA template](&lt;/del&gt;https://github.com/heat-api/heat/blob/master/templates/WordPress_Single_Instance_With_HA.template&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To see this all together look at the [https://github.com/heat-api/heat/blob/master/templates/WordPress_Single_Instance_With_HA.template &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;HA template]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[CloudWatch]] API ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[CloudWatch]] API ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key openstack_wiki:diff:version:1.11a:oldid:11257:newid:16267 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ladquin</name></author>	</entry>

	<entry>
		<id>https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=11257&amp;oldid=prev</id>
		<title>Asalkeld at 22:34, 13 November 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.openstack.org/w/index.php?title=Heat/Using-CloudWatch&amp;diff=11257&amp;oldid=prev"/>
				<updated>2012-11-13T22:34:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
Note: the current cloud watch implementation is incomplete (it only sufficient for [HA](https://github.com/heat-api/heat/wiki/Using-HA)). But should be easy to make more generally useful.&lt;br /&gt;
&lt;br /&gt;
To use cloud watch you need the following in your template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
    &amp;quot;MyOwnAlarm&amp;quot;: {&lt;br /&gt;
     &amp;quot;Type&amp;quot;: &amp;quot;AWS::CloudWatch::Alarm&amp;quot;,&lt;br /&gt;
     &amp;quot;Properties&amp;quot;: {&lt;br /&gt;
        &amp;quot;AlarmDescription&amp;quot;: &amp;quot;Restart the WikiDatabase if httpd fails &amp;gt; 3 times in 10 minutes&amp;quot;,&lt;br /&gt;
        &amp;quot;MetricName&amp;quot;: &amp;quot;ServiceFailure&amp;quot;,&lt;br /&gt;
        &amp;quot;Namespace&amp;quot;: &amp;quot;system/linux&amp;quot;,&lt;br /&gt;
        &amp;quot;Statistic&amp;quot;: &amp;quot;SampleCount&amp;quot;,&lt;br /&gt;
        &amp;quot;Period&amp;quot;: &amp;quot;300&amp;quot;,&lt;br /&gt;
        &amp;quot;EvaluationPeriods&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
        &amp;quot;Threshold&amp;quot;: &amp;quot;2&amp;quot;,&lt;br /&gt;
        &amp;quot;AlarmActions&amp;quot;: [ { &amp;quot;Ref&amp;quot;: &amp;quot;WebServerRestartPolicy&amp;quot; } ],&lt;br /&gt;
        &amp;quot;ComparisonOperator&amp;quot;: &amp;quot;GreaterThanThreshold&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Currently the only Action that is supported is HEAT::HA::Restarter&lt;br /&gt;
&lt;br /&gt;
Then you need to call this from in your vm:&lt;br /&gt;
/opt/aws/bin/cfn-push-stats --watch [[MyOwnAlarm]] [other args]&lt;br /&gt;
&lt;br /&gt;
To see this all together look at the [HA template](https://github.com/heat-api/heat/blob/master/templates/WordPress_Single_Instance_With_HA.template)&lt;br /&gt;
&lt;br /&gt;
== [[CloudWatch]] API ==&lt;br /&gt;
&lt;br /&gt;
An AWS-compatible API to the heat [[CloudWatch]] alarms and metrics is in-progress.  Not all AWS actions are supported (yet), but you can do the following:&lt;br /&gt;
&lt;br /&gt;
* List Alarms&lt;br /&gt;
* List Metrics (related to alarms only, generic Metric datapoints not yet supported)&lt;br /&gt;
* Create Metric Datapoints (similar to current cfn-push-stats functionality but authenticated)&lt;br /&gt;
* Set Alarm state (temporarily, useful for testing alarm actions)&lt;br /&gt;
&lt;br /&gt;
Status of API actions as they are implemented will be tracked in the [[CloudWatch|API roadmap page]](https://github.com/heat-api/heat/wiki/Roadmap-Feature:-cloudwatch-api)&lt;br /&gt;
&lt;br /&gt;
You can use the Cloudwatch API by doing the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
heat-api-cloudwatch -d &amp;amp;&lt;br /&gt;
tail -f /var/log/heat/api-cloudwatch.log&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that it is not currently necessary to run heat-api-cloudwatch for HA and autoscaling to work correctly - instances still report Cloudwatch metric data via the metadata server (for the time being at least..)&lt;br /&gt;
&lt;br /&gt;
== [[CloudWatch]] Client &amp;quot;**heat-watch**&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A client has been created to demonstrate the [[CloudWatch]] API - it is **heat-watch**&lt;br /&gt;
&lt;br /&gt;
Usage examples:&lt;br /&gt;
&lt;br /&gt;
List Alarms:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
heat-watch describe&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List Metrics Datapoints:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
heat-watch metric-list&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create Metric Datapoints:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
heat-watch metric-put-data HttpFailureAlarm system/linux ServiceFailure Count 1&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set Alarm state:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
heat-watch -d set-state HttpFailureAlarm ALARM&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Asalkeld</name></author>	</entry>

	</feed>