<html><body>
<p><font size="2" face="sans-serif">Same steps I can get below results. </font><br>
<font size="2" face="sans-serif">You may need debug into get_meters() in ceilometer/storage/impl_sqlalchemy.py to see if some filters are taking effect.</font><br>
<br>
<br>
<font size="2" face="sans-serif">localadmin@ostest2:~/devstack$ ceilometer meter-list</font><br>
<font size="2" face="sans-serif">+---------------------------------+------------+---------+--------------------------------------+----------------------------------+----------------------------------+</font><br>
<font size="2" face="sans-serif">| Name | Type | Unit | Resource ID | User ID | Project ID |</font><br>
<font size="2" face="sans-serif">+---------------------------------+------------+---------+--------------------------------------+----------------------------------+----------------------------------+</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.frequency | gauge | MHz | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.idle.percent | gauge | % | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.idle.time | cumulative | ns | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.iowait.percent | gauge | % | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.iowait.time | cumulative | ns | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.kernel.percent | gauge | % | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.kernel.time | cumulative | ns | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.percent | gauge | % | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.user.percent | gauge | % | ostest2_ostest2 | None | None |</font><br>
<font size="2" face="sans-serif">| compute.node.cpu.user.time | cumulative | ns | ostest2_ostest2 | None <br>
<br>
</font><br>
<br>
<tt><font size="2">"Lu, Lianhao" <lianhao.lu@intel.com> дÓÚ 2014/11/05 15:23:14:<br>
<br>
> From: "Lu, Lianhao" <lianhao.lu@intel.com></font></tt><br>
<tt><font size="2">> To: "OpenStack Development Mailing List (not for usage questions)" <br>
> <openstack-dev@lists.openstack.org></font></tt><br>
<tt><font size="2">> Date: 2014/11/05 15:31</font></tt><br>
<tt><font size="2">> Subject: Re: [openstack-dev] [ceilometer] unable to collect <br>
> compute.node.cpu.* data</font></tt><br>
<tt><font size="2">> <br>
> Hi Frank,</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> Could you try ¡®celometer sample-list¡¯ to see if the compute.node.cpu<br>
> samples are there?</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> -Lianhao</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> From: Du Jun [<a href="mailto:dj199008@gmail.com">mailto:dj199008@gmail.com</a>] <br>
> Sent: Wednesday, November 05, 2014 3:44 AM<br>
> To: openstack-dev@lists.openstack.org<br>
> Subject: [openstack-dev] [ceilometer] unable to collect <br>
> compute.node.cpu.* data</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> Hi all,</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> I attempt to collect compute.node.cpu as the following link mentions:</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> <a href="http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova">http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova</a></font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> I set:</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> compute_monitors = ComputeDriverCPUMonitor</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> in /etc/nova/nova.conf and restart nova-compute, nova-scheduler, <br>
> ceilometer-agent-notification, ceilometer-api, ceilometer-collector. </font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> From ceilometer-agent-notification's log, I can see agent transform <br>
> and publish data samples compute.node.cpu.*</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> What's more, from ceilometer database, I can see all the meters <br>
> compute.node.cpu.*</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> mysql> select * from meter;</font></tt><br>
<tt><font size="2">> +----+---------------------------------+------------+-----------+</font></tt><br>
<tt><font size="2">> | id | name | type | unit |</font></tt><br>
<tt><font size="2">> +----+---------------------------------+------------+-----------+</font></tt><br>
<tt><font size="2">> | 39 | compute.node.cpu.frequency | gauge | MHz |</font></tt><br>
<tt><font size="2">> | 41 | compute.node.cpu.idle.percent | gauge | % |</font></tt><br>
<tt><font size="2">> | 38 | compute.node.cpu.idle.time | cumulative | ns |</font></tt><br>
<tt><font size="2">> | 45 | compute.node.cpu.iowait.percent | gauge | % |</font></tt><br>
<tt><font size="2">> | 42 | compute.node.cpu.iowait.time | cumulative | ns |</font></tt><br>
<tt><font size="2">> | 36 | compute.node.cpu.kernel.percent | gauge | % |</font></tt><br>
<tt><font size="2">> | 44 | compute.node.cpu.kernel.time | cumulative | ns |</font></tt><br>
<tt><font size="2">> | 37 | compute.node.cpu.percent | gauge | % |</font></tt><br>
<tt><font size="2">> | 43 | compute.node.cpu.user.percent | gauge | % |</font></tt><br>
<tt><font size="2">> | 40 | compute.node.cpu.user.time | cumulative | ns |</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> However, when I type</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> ceilometer meter-list</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> It shows nothing about compute.node.cpu.*, so I wonder what's wrong <br>
> with my steps.</font></tt><br>
<tt><font size="2">> </font></tt><br>
<tt><font size="2">> --</font></tt><br>
<tt><font size="2">> Regards,</font></tt><br>
<tt><font size="2">> Frank_______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></tt></body></html>