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

Doug Hellmann doug at doughellmann.com
Tue Aug 12 13:15:31 UTC 2014


On Aug 12, 2014, at 4:11 AM, Duan, Li-Gong (Gary at HPServers-Core-OE-PSC) <li-gong.duan at hp.com> 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
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140812/50f9df38/attachment.html>


More information about the OpenStack-dev mailing list