<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
thank you very much for the feedback.<br>
<br>
Ok, I have tried to go through the triggers an events.<br>
<br>
Let me summarize, so we can confirm I understand it correctly:<br>
======================================<br>
<br>
The trigger:<br>
--------------<br>
<br>
- has a pattern - that is something like starting condition, that
leads to creating a trigger<br>
- has a criteria - that is the condition, that has to be fulfilled
in some given timeout after <br>
the trigger is created: <br>
--- then it can run some action(<span
style="color: rgb(51, 51, 51); font-family: sans-serif;
font-size: 12px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: 18px;
orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); display: inline
!important; float: none;"><span class="Apple-converted-space"></span></span>triggered
notification pipeline) and it saves the <br>
trigger(so it has query-able history
of the triggers) <br>
--- or the timeout action (
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
optional expiration notification pipeline).<br>
<br>
Questions<br>
-------------<br>
<br>
1. In the example in
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="https://blueprints.launchpad.net/ceilometer/+spec/notifications-triggers">https://blueprints.launchpad.net/ceilometer/+spec/notifications-triggers</a>
<br>
the pattern and criteria are a condition that are checking
appearance of specific events.<br>
What are the options for the conditions? What is the querying API?<br>
<br>
2. Can the conditions be tied only to the events? Or also to
samples and statistics, so I can build <br>
similar queries and conditions, that alarms have?<br>
<br>
3. If I have set e.g. trigger for measuring health of my
baremetals(checking disk failures), I could just set<br>
both conditions(pattern, criteria) the same, to observing some
events marking disk failure, right?<br>
<br>
If there will be disk Failures, it would create a trigger for each
disk failure notification, right? So I could then<br>
browse the triggers to check which resources had a disk failures?<br>
<br>
What are the querying options over the triggers? E.g. I would like
to get number of triggers of some type<br>
on some resource_ids, from last month, grouped by project?<br>
<br>
Summary<br>
======<br>
<br>
If the trigger pattern and criteria supports a general condition
like Alarms do, I believe this could work, yes.<br>
<br>
Otherwise it seems we should use Alarms(and Alarms Groups) for
checking sample based alerts, and Triggers <br>
for checking events(notifications) based alerts. So e.g. the
health of hardware would be likely computed from <br>
combination of Alarms and Triggers.<br>
<br>
<br>
On 09/24/2013 03:48 PM, Thomas Maddox wrote:<br>
</div>
<blockquote cite="mid:CE67012C.17E95%25thomas.maddox@RACKSPACE.com"
type="cite">
<pre wrap="">I think Dragon's BP for notification triggers would solve this problem.
Instead of looking at it as applying a single alarm to several resources,
you could instead leverage the similarities of the resources:
<a class="moz-txt-link-freetext" href="https://blueprints.launchpad.net/ceilometer/+spec/notifications-triggers">https://blueprints.launchpad.net/ceilometer/+spec/notifications-triggers</a>.
Compound that with configurable events:
<a class="moz-txt-link-freetext" href="https://blueprints.launchpad.net/ceilometer/+spec/configurable-event-defini">https://blueprints.launchpad.net/ceilometer/+spec/configurable-event-defini</a>
tions
-Thomas
On 9/24/13 7:46 AM, "Julien Danjou" <a class="moz-txt-link-rfc2396E" href="mailto:julien@danjou.info"><julien@danjou.info></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Tue, Sep 24 2013, Ladislav Smola wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yes it would be good if something like this would be supported. ->
relation of alarm to multiple entities, that
are result of sample-api query. Could it be worth creating a BP?
</pre>
</blockquote>
<pre wrap="">
Probably indeed.
--
Julien Danjou
# Free Software hacker # independent consultant
# <a class="moz-txt-link-freetext" href="http://julien.danjou.info">http://julien.danjou.info</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>