<div dir="ltr">On Fri, Nov 21, 2014 at 3:36 PM, Justin Lloyd <span dir="ltr"><<a href="mailto:jllwyd@gmail.com" target="_blank">jllwyd@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Load balancing and/or round-robin DNS were not appropriate for our situation given other architectural and application considerations in our environment.<div><br></div><div>My solution turned out to be simpler than I expected once I put two and two together with the muti-node capability of the write_graphite plugin combined with a PostCacheChain, like <a href="https://gist.github.com/anonymous/b3c1cd692632216c4c35" target="_blank">https://gist.github.com/anonymous/b3c1cd692632216c4c35</a>.</div></div></blockquote><div><br><br></div><div>Ah, cool - like this -> <a href="https://collectd.org/wiki/index.php/Match:Hashed/Config">https://collectd.org/wiki/index.php/Match:Hashed/Config</a> So you're making collectd send some metrics to one relay, some to another etc. What happens when one of the relays goes unavailable? Not trying to poke holes, but to understand your viewpoint - couple of ways to achieve distribution/redundancy here, and always good to hear other ideas...<br><br></div><div>-tt<br></div><div><br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div><br></div><div><br></div></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 6:26 PM, Tom Throckmorton <span dir="ltr"><<a href="mailto:throck@gmail.com" target="_blank">throck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Thu, Nov 20, 2014 at 2:33 PM, Justin Lloyd <span dir="ltr"><<a href="mailto:jllwyd@gmail.com" target="_blank">jllwyd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey all,<div><br></div><div>I'm looking for a way to have Collectd be able to send to a set of Graphite relays. Basically right now I have a three-layered Graphite setup, with a layer of four relays (for load distribution and server redundancy) sending to a layer of four aggregators that send to a set of carbon-cache processes on the cache server. I need my Collectd agents to be able to send to any of the four relays but I can't figure out how to accomplish this.</div></div></blockquote><div><br></div></span><div>Hi Justin;</div><div><br></div><div>If you want clients to truly send to <b>any</b> of the relay nodes, then maybe you want to look at fronting your relays with load-balancing, or maybe even round-robin DNS? Each have their benefits and tradeoffs, of course, but in either case the collectd config is as simple as having a single relay destination.</div><span><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> I was hoping the <a href="http://collectd.org/documentation/manpages/collectd.conf.5.shtml#filter_configuration" target="_blank">filtering</a> capability would help but I don't see a way to specify a relay-specific write_graphite plugin per rule.</div></div></blockquote><div><br></div></span><div>In that case, would you be sending to <b>all</b> of the relays? (vs. any)</div><div><br></div><div>-tt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div><br></div><div>Any suggestions? I did come across <a href="https://github.com/obfuscurity/backstop" target="_blank">backstop</a> but I didn't want to introduce a Rack app into the mix.</div><div><br></div><div>Thanks,</div><div>Justin</div><div><br></div></div>
<br></span>_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>