<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 05/11/2015 5:11 AM, Raghunath D
wrote:<br>
</div>
<blockquote
cite="mid:OFEE6CA192.8E25B50C-ON65257EF4.00377D90-65257EF4.0037FD4A@tcs.com"
type="cite"><font size="2" face="Default Sans
Serif,Verdana,Arial,Helvetica,sans-serif">
<div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;">Hi Pradeep,</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><br>
</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;">Presently we are looking for a
monitoring service.Using monitoring service u</span>ser's/application's </div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;">will subscribe for
few notification's/events from openstack infrastructure and
monitoring service</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;">will publish these
notification to user's/application's.</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><br>
</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;">We are exploring
Ceilometer for this purpose.We came across below blue print
which is similar to our requirement.</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><br>
</div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;"> <a class="moz-txt-link-freetext" href="https://blueprints.launchpad.net/ceilometer/+spec/declarative-notifications">https://blueprints.launchpad.net/ceilometer/+spec/declarative-notifications</a>.</span></div>
</div>
</font></blockquote>
<br>
i'm not exactly clear on what you are trying to achieve. that said,
the basic premise of the above blueprint is that if serviceX (nova,
neutron, etc...) starts publishing a new notification with a metric
of interest, Ceilometer can be easily configured to capture said
metric by adding a metric definition to a definition file[1] or a
custom definition file[2]. the same can be done for events[3].<br>
<br>
<blockquote
cite="mid:OFEE6CA192.8E25B50C-ON65257EF4.00377D90-65257EF4.0037FD4A@tcs.com"
type="cite"><font size="2" face="Default Sans
Serif,Verdana,Arial,Helvetica,sans-serif">
<div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;"><br>
</span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;">We have few queries on </span><span
style="font-size: 12.8px;">declarative-notifications frame
work</span><span style="font-size: 12.8px;">,could you
please help us in addressing them:</span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;"><br>
</span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;">1.We are looking for an API for
Subcribing/Publishing notification.Do this frame work
exposes any such API,if yes</span><span style="font-size:
12.8px;"> could you </span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;"> please provide us API doc or
spec how to use it.</span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;">2.If the frame work doesn't
have such API,does any of the development group is working
in this area.</span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;">3.P</span><span
style="font-size: 12.8px;">lease suggest what would be the
best place in ceilometer notification frame
work(publisher/dispatcher/..)</span></div>
<div style="font-family: 'Sans Serif', Verdana, Arial,
Helvetica, sans-serif; font-size: small;"><span
style="font-size: 12.8px;"> to implement the Subscribe
and Publish API.</span></div>
</div>
</font></blockquote>
<br>
from what is described, it seems like you'd like Ceilometer to
capture a notification and republish it rather than stored in a
Ceilometer supported storage driver (ie Gnocchi, ElasticSearch, SQL,
etc...). currently, the only way to do this is to not enable a
collector service. doing so, the Event/Sample will be published to a
message queue (default) which you can configure your service to pull
from. currently, i don't believe oslo.messaging supports pub/sub
work flow. alternatively, you can use one of the other
publishers[4]. the kafka publisher should allow you to do a pub/sub
type workflow. i know RAX has atom hopper[5] which uses atom feeds
to support pub/sub functionality. there was discussions on adding
support for this but no work has been done on it. feel free to
propose it if you feel it's worthwhile.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml">https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml</a><br>
[2]
<a class="moz-txt-link-freetext" href="https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/notifications.py#L31">https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/notifications.py#L31</a><br>
[3]
<a class="moz-txt-link-freetext" href="https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/event_definitions.yaml">https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/event_definitions.yaml</a><br>
[4]
<a class="moz-txt-link-freetext" href="http://docs.openstack.org/admin-guide-cloud/telemetry-data-retrieval.html#publishers">http://docs.openstack.org/admin-guide-cloud/telemetry-data-retrieval.html#publishers</a><br>
[5] <a class="moz-txt-link-freetext" href="http://atomhopper.org/">http://atomhopper.org/</a><br>
<br>
cheers,<br>
<pre class="moz-signature" cols="72">--
gord</pre>
</body>
</html>