<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,ZhiQiang,<br>
    I have the same confusion, coincidentally, for some metrics, samples
    can be generated from both motification-agent and central-agent(or
    compute-agent), such as image, floatingip, image.size..., these
    samples from notification can effect the statistics of the meter,
    further, this may broken alarm-evaluation base on the meters.<br>
    <br>
    So,is it an issue?<br>
    <br>
    For your question, think about using combination alarm or specifying
    exclude_outliers in alarm.rule, just guess :)<br>
    <div class="moz-cite-prefix">于 2014/4/14 20:01, ZhiQiang Fan 写道:<br>
    </div>
    <blockquote
cite="mid:CA+TtxkvzOSQ5tcrLufiGSXbbCKOCEFG89JQ+JuO+8eZZFQUd8g@mail.gmail.com"
      type="cite">
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>