[openstack-dev] [Ceilometer] Add a pollster plugin

Duan, Li-Gong (Gary@HPServers-Core-OE-PSC) li-gong.duan at hp.com
Thu Aug 14 06:41:53 UTC 2014


Thanks a lot, Doug. It does work after configuring pipeline.yaml.



Regards,

Gary

On Aug 12, 2014, at 4:11 AM, Duan, Li-Gong (Gary at HPServers-Core-OE-PSC<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>) <li-gong.duan at hp.com<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>> wrote:



> Hi Folks,

>

> Is there any best practices or good way to debug whether new pollster plugin work fine for ceilometer?

>

> I'd like to add a new pollster plugin into Ceilometer by

>      - adding a new item under enterypoint/ceilometer.poll.central in setup.cfg file

>      - adding the implementation code inheriting "plugin.CentralPollster".

>

> 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.

> Is there any other source/config files I need to modify or add?



You need to define a pipeline [1] to include the data from your new pollster and schedule it to be run.



Doug



[1] http://docs.openstack.org/developer/ceilometer/configuration.html#pipelines



>

> Thanks in advance,

> Gary



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140814/51bcd766/attachment.html>


More information about the OpenStack-dev mailing list