<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>> but how do we do with other priority message like "WARN" ?<div><br></div><div>we can add support for the other levels as well... are there WARN, CRITICAL, priority messages?<br><br><font face="Calibri">cheers,</font></div><font face="Calibri"><i>gord</i></font><br><br><br><div><hr id="stopSpelling">Date: Tue, 10 Feb 2015 16:11:23 +0800<br>From: yuntongjin@gmail.com<br>To: gord@live.ca; openstack-dev@lists.openstack.org; julien@danjou.info<br>Subject: Re: [openstack-dev] [ceilometer] nova api.fault notification isn't collected by ceilometer<br><br>
  
    
  
  
    <br>
    <div class="ecxmoz-cite-prefix">On 2015年02月10日 11:34, yuntong wrote:<br>
    </div>
    <blockquote cite="mid:54D97C51.6060605@gmail.com">
      
      <br>
      <div class="ecxmoz-cite-prefix">On 2015年02月10日 05:12, gordon chung
        wrote:<br>
      </div>
      <blockquote cite="mid:BAY168-W60DFDF058D7124509DE865DE270@phx.gbl">
        <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
        <div dir="ltr">
          <div>
            <pre>> In nova api, a nova api.fault notification will be send out when the when there
> is en error.
> <a href="http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/__init__.py#n119" target="_blank">http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/__init__.py#n119</a>
> but i couldn't find where they are  processed  in ceilometer,
> an error notification can be very desired to be collected, do we have plan to
> add this, shall i need a bp to do that ?</pre>
          </div>
          there's a patch for review to store error info: <a href="https://review.openstack.org/#/c/153362/" target="_blank">https://review.openstack.org/#/c/153362/</a>
          <div><br>
          </div>
        </div>
      </blockquote>
    </blockquote>
    This looks good, <br>
    but how do we do with other priority message like "WARN" ?<br>
    <br>
    -yuntong<br>
    <blockquote cite="mid:54D97C51.6060605@gmail.com">
      <blockquote cite="mid:BAY168-W60DFDF058D7124509DE865DE270@phx.gbl">
        <div dir="ltr">
          <div> <font face="Calibri">cheers,<br>
              <i>gord</i></font></div>
        </div>
      </blockquote>
      Yep, that's what i'm looking for, thanks, <br>
      another notification from nova that is missed in ceilometer is
      info from nova api:<br>
      <a class="ecxmoz-txt-link-freetext" href="https://github.com/openstack/nova/blob/master/nova/notifications.py#L64" target="_blank">https://github.com/openstack/nova/blob/master/nova/notifications.py#L64</a><br>
      this notify_decorator will decorate every nova/ec2 rest api and
      send out a notification for each api actions:<br>
      <a class="ecxmoz-txt-link-freetext" href="https://github.com/openstack/nova/blob/master/nova/utils.py#L526" target="_blank">https://github.com/openstack/nova/blob/master/nova/utils.py#L526</a><br>
      from which will send out notification like: <span class="ecxpl-s1"><span class="ecxpl-pds">"</span><span class="ecxpl-c1">%s</span>.<span class="ecxpl-c1">%s</span>.<span class="ecxpl-c1">%s</span><span class="ecxpl-pds">"</span></span> <span class="ecxpl-k">%</span>
      (module, key, method) ,<br>
      and no notification plugin in ceilometer to deal with them.<br>
      Let me know if i should file a bug for this.<br>
      Thanks,<br>
      <br>
      -yuntong<br>
      <br>
      <br>
    </blockquote>
    <br></div>                                        </div></body>
</html>