<div dir="ltr">Nick,<div><br></div><div>Can you please point me to where in the configuration steps "<span style="font-family:arial,sans-serif;font-size:13.333333969116211px">sflow-to-rrd-handler is daemonised" happens?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">I think I missed that step</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">~Brian</span></div></div><div class="gmail_extra"><br clear="all"><div><strong style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(136,136,136)">Brian Thompson</strong><br>
<span style="color:rgb(0,102,51);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px">Senior Infrastructure Engineer // Senior Second Guesser</span><br><font color="#666666" face="Lucida Grande, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:15px"><br>
</span></font><span style="color:rgb(102,102,102);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px">Direct: </span><a value="+15039436742" style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(17,85,204)">503.943.6779</a><br>
<span style="color:rgb(102,102,102);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px">Mobile: </span><a value="+15033196955" style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(17,85,204)">503.707.9018</a><span style="color:rgb(102,102,102);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px"> // Twitter: iovation</span><br>
<strong style="color:rgb(0,102,51);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px"><a href="http://www.iovation.com/" title="Visit iovation.com" style="color:rgb(0,102,51);text-decoration:none;border-bottom-width:0px;border-bottom-style:initial;border-bottom-color:initial" target="_blank">www.iovation.com</a></strong><br>
<font color="#006633" face="Lucida Grande, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:15px"><br></span></font><span><font color="#888888"><div><font color="#006633" face="'Lucida Grande', Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:16px"><img src="http://www.iovation.com/images/signature/eml_sig_mobilefraud.gif"></span></font></div>
</font></span></div>
<br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 1:53 AM, Nick Hilliard <span dir="ltr"><<a href="mailto:nick@inex.ie" target="_blank">nick@inex.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 07/11/2013 07:16, Rowan Thorpe wrote:<br>
>> Is sflowtool supposed to be daemonized, or is there a script that<br>
>> kicks it off? It feels like I am missing a piece.<br>
><br>
> Daemon. It seems there might be two areas for improvement in the<br>
> documentation(?):<br>
<br>
</div>sflowtool is started as a pipe by the sflow-to-rrd-handler script, and<br>
sflow-to-rrd-handler is daemonised.<br>
<div class="im"><br>
> 1) I can't find a link from the standard "installation instructions"<br>
> page to the sflow installation page, I only find it by navigating via<br>
> "pages" on the github wiki...<br>
<br>
</div>I agree that the documentation needs to be updated. It would be best to<br>
include a diagram explaining how we set it up.<br>
<br>
In fact, INEX runs multiple sflowtool instances. We send all our sflow<br>
data to a centralised collector, and it uses sflowtool with different<br>
command line arguments to fan the sflow data out from there to several<br>
other systems. These other systems use "sflowtool -l" to pipe the data to<br>
various daemons. One of these systems handles the p2p stuff.<br>
<div class="im"><br>
> NB: A small gotcha which bit me hard was that because I was integrating<br>
> IXP-Manager onto a server which was also cloning other functionality<br>
> from a previous server, there was already a script running sflowtool on<br>
> a separate port for unrelated data-collection. Unfortunately it was<br>
> running from root crontab rather than system cron (or better yet - init)<br>
> and every few days it would do a "killall sflowtool, archive log-file,<br>
> re-run sflowtool" cycle, with no logging of the fact. It took me<br>
> a while (longer than I'd like to admit) to diagnose why the IXP-M<br>
> sflowtool was dying every few days...<br>
<br>
</div>oops, awkward. :-)<br>
<div class="im"><br>
> FWIW: a month or two ago I posted an ITP (intent to package) and I<br>
> packaged and uploaded a Debian package (therefore Ubuntu, etc) for<br>
> sflowtool to the mentors server at Debian and asked for a Debian<br>
> Developer to sponsor getting it into the official repos (I also<br>
> included an init-script I wrote for it - which should be<br>
> platform-agnostic enough BTW), but no-one responded yet :-( In the<br>
> process I even shook out some small sflowtool bugs and helped the<br>
> upstream sflowtool developer to patch them, hence the recent version<br>
> bump of that too :-) If anyone knows a Debian Developer who might want<br>
> to sign and push my packaging efforts so that sflowtool can become<br>
> easier to install on lots of systems, please urge them to visit and give<br>
> input/feedback: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724939" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724939</a><br>
<br>
</div>Yep, I saw that, but have no contact with the debian people. I also<br>
submitted a couple of sflowtool patches, which made it into sflowtool 3.30<br>
(would recommend using this version for IXP manager, as it behaves much<br>
better with sflow-to-rrd-handler).<br>
<span class="HOEnZb"><font color="#888888"><br>
Nick<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
</div></div></blockquote></div><br></div>