[Openstack] Ceilometer alarm webhook

Jesus arteche chechu.linux at gmail.com
Tue May 19 16:17:01 UTC 2015


hey guys,

I'm trying to set a webhook url on the ceilometer alarm, I checked that
from the host where Ceilometer is deployed, I have connectivity to the host
where the webhook catcher is running, I tested with curl against the
webhook catcher and it worked.
But when I define the alarm it doesn't work:

+---------------------------+---------------------------------------------------------+
| Property                  | Value
          |
+---------------------------+---------------------------------------------------------+
| alarm_actions             | [u'http://x.x.x.x/alarm']
    |
| alarm_id                  | 3b0e5778-xxxx-4abd-abb9-xxxxxxxxxx
         |
| comparison_operator       | gt
           |
| description               | instance running hot
           |
| enabled                   | True
           |
| evaluation_periods        | 1
          |
| exclude_outliers          | False
          |
| insufficient_data_actions | [u'http://x.x.x.x/nodata']
     |
| meter_name                | cpu_util
           |
| name                      | webhook6
           |
| ok_actions                | [u'http://x.x.x.x/ok']
     |
| period                    | 600
          |
| project_id                | d64bee94af1b44d98dcxxxxxxxxx
       |
| query                     | resource_id ==
582c7790-1837-4bb1-829xxxxxxxxxxx AND |
|                           | project_id == d64bee94af1b44d98dc7xxxxxx
     |
| repeat_actions            | True
           |
| state                     | insufficient data
          |
| statistic                 | avg
          |
| threshold                 | 30.0
           |
| type                      | threshold
          |
| user_id                   | e2a5ccea76a84285xxxxxxxx
   |
+---------------------------+---------------------------------------------------------+

The status is alarm but the webhook doesnt get anything..

Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150519/461b4328/attachment.html>


More information about the Openstack mailing list