<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">Thanks a lot, Doug. It does work after configuring pipeline.yaml.<o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353"><o:p> </o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">Regards,<o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">Gary<o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">On Aug 12, 2014, at 4:11 AM, Duan, Li-Gong (<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style="font-family:"inherit","serif";color:#BC1518;border:none windowtext 1.0pt;padding:0in">Gary at HPServers-Core-OE-PSC</span></a>) <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style="font-family:"inherit","serif";color:#BC1518;border:none windowtext 1.0pt;padding:0in">li-gong.duan at hp.com</span></a>> wrote:<o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353"><o:p> </o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> Hi Folks,<o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i>  <o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> Is there any best practices or good way to debug whether new pollster plugin work fine for ceilometer?<o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i>  <o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> I’d like to add a new pollster plugin into Ceilometer by<o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i>      - adding a new item under enterypoint/ceilometer.poll.central in setup.cfg file<o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i>      - adding the implementation code inheriting “plugin.CentralPollster”. <o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i>  <o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> 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></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> Is there any other source/config files I need to modify or add?<o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353"><o:p> </o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">You need to define a pipeline [1] to include the data from your new pollster and schedule it to be run. <o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353"><o:p> </o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">Doug<o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353"><o:p> </o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">[1] <a href="http://docs.openstack.org/developer/ceilometer/configuration.html#pipelines"><span style="font-family:"inherit","serif";color:#BC1518;border:none windowtext 1.0pt;padding:0in">http://docs.openstack.org/developer/ceilometer/configuration.html#pipelines</span></a><o:p></o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353"><o:p> </o:p></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i>  <o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> Thanks in advance,<o:p></o:p></i></span></pre>
<pre style="line-height:13.5pt;background:white;vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#535353">><i> Gary</i><o:p></o:p></span></pre>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>