<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Aug 12, 2014, at 4:11 AM, Duan, Li-Gong (Gary@HPServers-Core-OE-PSC) <<a href="mailto:li-gong.duan@hp.com">li-gong.duan@hp.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->

<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1"><p class="MsoNormal">Hi Folks,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Is there any best practices or good way to debug whether new pollster plugin work fine for ceilometer?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I’d like to add a new pollster plugin into Ceilometer by<o:p></o:p></p><p class="MsoNormal">     - adding a new item under enterypoint/ceilometer.poll.central in setup.cfg file<o:p></o:p></p><p class="MsoNormal">     - adding the implementation code inheriting “plugin.CentralPollster”. 
<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">But when I “sudo python setup.py install” and restart ceilometer-related services in devstack, NO new metering is displayed upon “ceilometer meter-list” and I expect that there should be a new metering showing the item defined in setup.cfg.<o:p></o:p></p><p class="MsoNormal">Is there any other source/config files I need to modify or add?</p></div></div></blockquote><div><br></div><div>You need to define a pipeline [1] to include the data from your new pollster and schedule it to be run. </div><div><br></div><div>Doug</div><div><br></div><div>[1] <a href="http://docs.openstack.org/developer/ceilometer/configuration.html#pipelines">http://docs.openstack.org/developer/ceilometer/configuration.html#pipelines</a></div><br><blockquote type="cite"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal"><o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks in advance,<o:p></o:p></p><p class="MsoNormal">Gary<o:p></o:p></p>
</div>
</div>

_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></body></html>