<div dir="ltr"><div><div><span style="font-family:verdana,sans-serif">Hi, operators,<br><br></span></div><span style="font-family:verdana,sans-serif">I
 have an environment running openstack havana which enables ceilometer 
service, and I set notify_on_state_change = vm_and_task_state in 
/etc/nova/nova.conf. So there are notifications being sent when 
instances state and task status changed, the problem that the end users 
may create alarm based on instance count, which mea<code>ns </code>statistics
 on instance meter will be used, which leading to an incorrect state of 
alarm, because there may be 5 vm but has 10 instances sample in 1 
periods.<br></span>

<span style="font-family:verdana,sans-serif"><br></span></div><div><span style="font-family:verdana,sans-serif">I think the cpu_util can replace the instance, but what about the vm has multiple cpu?<br><br></span></div><div>
<span style="font-family:verdana,sans-serif">So, it is really confused me how to check vm count through statistics api<br></span>

<span style="font-family:verdana,sans-serif"><br></span></div><div><span style="font-family:verdana,sans-serif">Can anyone share your experience? Or is there some material can be read?<br><br></span></div><div><span style="font-family:verdana,sans-serif">Thanks!<br>
<br><br></span></div><div><span style="font-family:verdana,sans-serif">(sorry, the previous mail seems not display correctly, so I repost it in reply.)<br></span></div></div>