<html><body>
<p><font size="2" face="sans-serif">Doug, Deepak,</font><br>
<font size="2" face="sans-serif">     I am also in the process of implementing a blueprint which allows one to easily add a dispatcher to do whatever you want to do for each meter received by Ceilometer. Here is the link to blueprint and the implementation.</font><br>
<br>
<font size="2" face="sans-serif">     <a href="https://blueprints.launchpad.net/openstack/?searchtext=multi-dispatcher-enablement">https://blueprints.launchpad.net/openstack/?searchtext=multi-dispatcher-enablement</a></font><br>
<br>
<font size="2" face="sans-serif">     <a href="https://review.openstack.org/#/c/34301/">https://review.openstack.org/#/c/34301/</a></font><br>
<br>
<font size="2" face="sans-serif">     </font><font size="2" face="sans-serif">If this gets merged soon, you will only need to write something like dispatcher_log.py, in method </font><font size="2" face="sans-serif">record_metering_data you may choose to do whatever you like to do with the meter data.  For your question #1, you can simple fire up a text message or send out an email if you prefer. Even though you can do whatever you want to do there, but make sure the method is extremely light weight and effecient.</font><br>
<br>
<font size="2" face="sans-serif">Thanks.</font><br>
<br>
<font size="2" face="sans-serif">Tong Li<br>
Emerging Technologies & Standards<br>
Building 501/B205<br>
litong01@us.ibm.com</font><br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF106DFF8D8DA8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Doug Hellmann ---06/25/2013 03:23:16 PM---On Fri, Jun 21, 2013 at 9:37 PM, Deepak Bangalore Hariyanna"><font size="2" color="#424282" face="sans-serif">Doug Hellmann ---06/25/2013 03:23:16 PM---On Fri, Jun 21, 2013 at 9:37 PM, Deepak Bangalore Hariyanna < dbangalo@usc.edu> wrote:</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">Doug Hellmann <doug.hellmann@dreamhost.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">Deepak Bangalore Hariyanna <dbangalo@usc.edu>, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc:        </font><font size="1" face="sans-serif">"openstack@lists.launchpad.net" <openstack@lists.launchpad.net></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">06/25/2013 03:23 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">Re: [Openstack] [OpenStack] [Metering] Options to obtain Notifications when ceilometer generates a meter entry in the DB</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:   </font><font size="1" face="sans-serif">"Openstack" <openstack-bounces+litong01=us.ibm.com@lists.launchpad.net></font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<br>
<font size="3" face="serif"><br>
</font><br>
<font size="3" face="serif">On Fri, Jun 21, 2013 at 9:37 PM, Deepak Bangalore Hariyanna <</font><a href="mailto:dbangalo@usc.edu" target="_blank"><font size="3" color="#0000FF" face="serif"><u>dbangalo@usc.edu</u></font></a><font size="3" face="serif">> wrote:</font>
<ul style="padding-left: 9pt"><font size="3" face="serif">Hi All,</font><br>
<br>
<font size="3" face="serif">I am currently working on an charging application to work with ceilometer(Grizzly release).</font><br>
<font size="3" face="serif">Have been working on openstack for just couple weeks and hence have a couple of questions:</font><br>
<font size="3" face="serif">1). I read in the documentation that the only way to access the data generated by collector is through the API(i.e either use the cURL option or the ceilometer pythonclient to query the required information). I am able to do this and fetch the required data.</font><br>
<font size="3" face="serif">However, for an application to access these, is there a better way? Like, whenever the ceilometer generates an event entry in the db, does it provide any notification on any queues, or is there a way we can configure this to happen?</font><br>
<br>
<font size="3" face="serif">If there is no such option, I plan to periodically poll the ceilometer through API for the usage data. (which I sincerely feel is a bad idea). </font><br>
<br>
<font size="3" face="serif">2). From the Havana roadmap, I see an objective "</font><font size="2" face="Arial">Publish meters to other systems"</font><br>
<font size="2" face="Arial">Does this mean, other systems can configure to bind themselves on an AMQP queue and ceilometer would publish notifications on this exchange?</font><br>
<font size="2" face="Arial">If so, this would be a feature of Havana?  </font><br>
<font size="2" face="Arial">Because I was confused with the publisher feature of Grizzzly, as below </font><br>
<br>
<br>
<font size="2" face="Arial">Would be great if someone can help me on this.</font></ul>
<br>
<font size="3" face="serif">The architecture of ceilometer supports plugging in different publishers. We have one that reproduces the grizzly/folsom feature of sending data on the message bus so the collector can receive it. We also have one that sends UDP messages that are consumed by the collector (useful for monitoring, but not for metering). The API is designed to allow you to write your own if you have a custom consumer, and we would welcome other reusable publishers in the core code base.</font><br>
<br>
<font size="3" face="serif">Doug</font><br>
<font size="3" face="serif"> </font>
<ul style="padding-left: 9pt"><br>
<font size="2" face="Arial">Thanks a lot,</font><br>
<font size="2" face="Arial">Deepak</font><br>
<font size="3" face="serif"><br>
_______________________________________________<br>
Mailing list: </font><a href="https://launchpad.net/~openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://launchpad.net/~openstack</u></font></a><font size="3" face="serif"><br>
Post to     : </font><a href="mailto:openstack@lists.launchpad.net"><font size="3" color="#0000FF" face="serif"><u>openstack@lists.launchpad.net</u></font></a><font size="3" face="serif"><br>
Unsubscribe : </font><a href="https://launchpad.net/~openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://launchpad.net/~openstack</u></font></a><font size="3" face="serif"><br>
More help   : </font><a href="https://help.launchpad.net/ListHelp" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://help.launchpad.net/ListHelp</u></font></a><font size="3" face="serif"><br>
</font></ul>
<tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
Post to     : openstack@lists.launchpad.net<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
More help   : </font></tt><tt><font size="2"><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>