is there any error or warning information related to that meter-list
request in ceilometer-api.log?

On Wed, Nov 5, 2014 at 10:43 AM, Du Jun <dj199...@gmail.com> wrote:

> Hi all,
>
> I attempt to collect compute.node.cpu as the following link mentions:
>
>
> http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova
>
> I set:
>
> compute_monitors = ComputeDriverCPUMonitor
>
> in /etc/nova/nova.conf and restart nova-compute, nova-scheduler,
> ceilometer-agent-notification, ceilometer-api, ceilometer-collector.
>
> From ceilometer-agent-notification's log, I can see agent transform and
> publish data samples compute.node.cpu.*
>
> What's more, from ceilometer database, I can see all the meters
> compute.node.cpu.*
>
> mysql> select * from meter;
>
> +----+---------------------------------+------------+-----------+
>
> | id | name                            | type       | unit      |
>
> +----+---------------------------------+------------+-----------+
>
> | 39 | compute.node.cpu.frequency      | gauge      | MHz       |
>
> | 41 | compute.node.cpu.idle.percent   | gauge      | %         |
>
> | 38 | compute.node.cpu.idle.time      | cumulative | ns        |
>
> | 45 | compute.node.cpu.iowait.percent | gauge      | %         |
>
> | 42 | compute.node.cpu.iowait.time    | cumulative | ns        |
>
> | 36 | compute.node.cpu.kernel.percent | gauge      | %         |
>
> | 44 | compute.node.cpu.kernel.time    | cumulative | ns        |
>
> | 37 | compute.node.cpu.percent        | gauge      | %         |
>
> | 43 | compute.node.cpu.user.percent   | gauge      | %         |
>
> | 40 | compute.node.cpu.user.time      | cumulative | ns        |
>
>
> However, when I type
>
> ceilometer meter-list
>
> It shows nothing about compute.node.cpu.*, so I wonder what's wrong with
> my steps.
>
> --
> Regards,
> Frank
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
blog: zqfan.github.com
git: github.com/zqfan
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to