<div dir="ltr"><div>I'm agree this is an issue to improve in the write_graphite plugin, I have the same problem and the best way to solve is by adding an  "AutoReconnectTimeout" option to close and reconnect after an amount of time ( like 1 hour or 1 day) handled from inside plugin to avoid lost of data.</div><div><br></div><div>I suggest you open an issue as "Feature Request" to the github because of this can be a very useful feature.</div><div><br></div><div><a href="https://github.com/collectd/collectd/issues">https://github.com/collectd/collectd/issues</a></div><div><br></div><div>In some weeks myself ( if no other have done first)  I will try to write a patch to solve this problem.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-01 23:25 GMT+01:00 Mark Juric <span dir="ltr"><<a href="mailto:gajillion@gmail.com" target="_blank">gajillion@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all,<br></div><br>From the write_graphite plugin documentation: "The plugin aims to be very efficient. It keeps the TCP connection to <i>Carbon</i> open in order to minimize the connection handshake overhead." This efficiency is causing me a lot of headaches. We're running 2,000 servers through a Netscaler load-balancer which distributes the traffic to multiple daemons running on multiple nodes in the Graphite cluster. The problem is, if a node dies, the load-balancer will (as expected) distribute the traffic to the remaining nodes in the cluster. However, because the connections are persistent, it doesn't rebalance them once the dead node comes back on-line. This leaves the rest of the nodes in an over-worked state, and the revived node almost completely unused.<br><br></div>Any thoughts on how or where in the code to best fix this? <br><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Mark<br><div><div><br></div></div></font></span></div>
<br>_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">Att</font></p>
<p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">Toni Moreno</font></p>
<p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">699706656</font></p><img src="http://graphics.hotmail.com/greypixel.gif" height="2" vspace="9" width="100%"><br>  
<p align="right"><em>Si no quieres perderte en el olvido tan pronto como estés muerto y corrompido, </em></p>
<p align="right"><em>escribe cosas dignas de leerse, o haz cosas dignas de escribirse.</em></p>
<p align="right"> </p>
<p align="right"><strong><em>Benjamin Franklin</em></strong> <br></p></div>
</div>