<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Just what I needed, thanks Sam. And I can also confirm this works like a champ.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I was digging through oslo.messaging stuff looking for this, I completely overlooked the notification settings in ceilometer itself.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Appreciate pointing me in the right direction!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Mike<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Sam Morrison <sorrison@gmail.com><br>
<b>Date: </b>Thursday, November 3, 2016 at 7:04 PM<br>
<b>To: </b>Mike Dorman <mdorman@godaddy.com><br>
<b>Cc: </b>OpenStack Operators <openstack-operators@lists.openstack.org><br>
<b>Subject: </b>Re: [Openstack-operators] Ceilometer/oslo.messaging connect to multiple RMQ endpoints<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">That was me! and yes you can do it when consuming notifications with ceilometer-agent-notification
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Eg in our ceilometer.conf we have<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">[notification]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">workers=12<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">disable_non_metric_meters=true<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">store_events = true<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">batch_size = 50<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">batch_timeout = 5<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">messaging_urls = <a href="rabbit://XX:XX@rabbithost1:5671/vhost1">
rabbit://XX:XX@rabbithost1:5671/vhost1</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">messaging_urls = <a href="rabbit://XX:XX@rabbithost2:5671/vhost">
rabbit://XX:XX@rabbithost2:5671/vhost</a>2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">messaging_urls = <a href="rabbit://XX:XX@rabbithost3:5671/vhost3">
rabbit://XX:XX@rabbithost3:5671/vhost3</a><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If no messaging_urls are set then it will fall back to the settings in the [oslo_messaging_rabbit] config section<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Also if you set messaging_urls then it won’t consume from the rabbit specified in [oslo_messaging_rabbit] so you have to add it to messaging_urls too.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sam<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 4 Nov. 2016, at 10:28 am, Mike Dorman <<a href="mailto:mdorman@godaddy.com">mdorman@godaddy.com</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri">I heard third hand from the summit that it’s possible to configure Ceilometer/oslo.messaging with multiple rabbitmq_hosts config entries, which will let you connect
to multiple RMQ endpoints at the same time.</span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri"> </span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri">The scenario here is we use the Ceilometer notification agent the pipe events from OpenStack services into a Kafka queue for consumption by other team(s) in the
company. We also run Nova cells v1, so we have to run one Ceilometer agent for the API cell, as well as an agent for every compute cell (because they have independent RMQ clusters.)</span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri"> </span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri">Anyway, I tried configuring it this way and it still only connects to a single RMQ server. We’re running Liberty Ceilometer and oslo.messaging, so I’m wondering
if this behavior is only in a later version? Can anybody shed any light? I would love to get away from running so many Ceilometer agents.</span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri"> </span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri">Thanks!</span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri">Mike</span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri"> </span><span style="font-family:Calibri"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;background:white">_______________________________________________</span><span style="font-size:9.0pt;font-family:Helvetica"><br>
<span style="background:white">OpenStack-operators mailing list</span><br>
</span><a href="mailto:OpenStack-operators@lists.openstack.org"><span style="font-size:9.0pt;font-family:Helvetica;color:#954F72;background:white">OpenStack-operators@lists.openstack.org</span></a><span style="font-size:9.0pt;font-family:Helvetica"><br>
</span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"><span style="font-size:9.0pt;font-family:Helvetica;color:#954F72;background:white">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>