<div dir="ltr">Hi all,<div><br></div><div>I attempt to collect compute.node.cpu as the following link mentions:</div><div><br></div><div><a href="http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova">http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova</a></div><div><br></div><div>I set:</div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">compute_monitors = ComputeDriverCPUMonitor</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">in /etc/nova/nova.conf and restart nova-compute, nova-scheduler, ceilometer-agent-notification, ceilometer-api, ceilometer-collector. </span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">From </span><span style="font-family:Menlo;font-size:11px">ceilometer-agent-notification</span><span style="font-family:Menlo;font-size:11px">'s log, I can see agent transform and publish data samples </span><span style="font-family:Menlo;font-size:11px">compute.node.cpu.*</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">What's more, from ceilometer database, I can see all the meters </span><span style="font-family:Menlo;font-size:11px">compute.node.cpu.*</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#ff0000">mysql> select * from meter;</font></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">+----+---------------------------------+------------+-----------+</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| id | name                            | type       | unit      |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">+----+---------------------------------+------------+-----------+</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 39 | compute.node.cpu.frequency      | gauge      | MHz       |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 41 | compute.node.cpu.idle.percent   | gauge      | %         |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 38 | compute.node.cpu.idle.time      | cumulative | ns        |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 45 | compute.node.cpu.iowait.percent | gauge      | %         |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 42 | compute.node.cpu.iowait.time    | cumulative | ns        |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 36 | compute.node.cpu.kernel.percent | gauge      | %         |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 44 | compute.node.cpu.kernel.time    | cumulative | ns        |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 37 | compute.node.cpu.percent        | gauge      | %         |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 43 | compute.node.cpu.user.percent   | gauge      | %         |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 40 | compute.node.cpu.user.time      | cumulative | ns        |</p></div><div><br></div><div><br></div><div>However, when I type</div><div><br></div><div>ceilometer meter-list</div><div><br></div><div>It shows nothing about <span style="font-family:Menlo;font-size:11px">compute.node.cpu.*, so I wonder what's wrong with my steps.</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">--</span></div><div><span style="font-family:Menlo;font-size:11px">Regards,</span></div><div><span style="font-family:Menlo;font-size:11px">Frank</span></div></div>