<html theme="default-light" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#485663">Hi Basil,<br>
<br>
apologies, the sflow_rrd_handler and sflow_bgp_handler are freebsd
startup scripts, not Ubuntu.<br>
<br>
You should be able to put sflow-to-rrd-handler and
sflow-detect-ixp-bgp-sessions directly into systemd config files on
Ubuntu.<br>
<br>
Nick<br>
<span>
</span><br>
<blockquote type="cite"
cite="mid:CAPtEs5NnnSo4j5hLrt-88C_aTWOz5quzajhYLOtSmTE1zzUg=g@mail.gmail.com"
style="border: 0px none ! important;">
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:saifbasilyazan@gmail.com"
moz-do-not-send="true">Basil Elbalaawi</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">28
March 2021 at 17:49</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div
dir="ltr"><br><div>Hi Nick</div><div><br></div><div>AT ubuntu 20.04</div><div><br></div><div><a class="moz-txt-link-abbreviated" href="mailto:root@sflow:/etc/init.d#">root@sflow:/etc/init.d#</a>
<b><font color="#ff0000">systemctl status sflow_bgp_handler.service</font></b><br>●
sflow_bgp_handler.service<br> Loaded: loaded
(/etc/init.d/sflow_bgp_handler; generated)<br> Active: failed
(Result: exit-code) since Sun 2021-03-28 16:29:19 UTC; 14s ago<br>
Docs: man:systemd-sysv-generator(8)<br> Process: 6622
ExecStart=/etc/init.d/sflow_bgp_handler start (code=exited, status=127)<br><br>Mar
28 16:29:19 sflow systemd[1]: Starting sflow_bgp_handler.service...<br>Mar
28 16:29:19 sflow sflow_bgp_handler[6622]: <b><font color="#0000ff">/etc/init.d/sflow_bgp_handler:
29: .: Can't open /etc/rc.subr</font></b><br>Mar 28 16:29:19 sflow
systemd[1]: sflow_bgp_handler.service: Control process exited,
code=exited, status=127/n/a<br>Mar 28 16:29:19 sflow systemd[1]:
sflow_bgp_handler.service: Failed with result 'exit-code'.<br>Mar 28
16:29:19 sflow systemd[1]: Failed to start sflow_bgp_handler.service.<br><a class="moz-txt-link-abbreviated" href="mailto:root@sflow:/etc/init.d#">root@sflow:/etc/init.d#</a>
systemctl restart sflow_rrd_handler.service<br>Job for
sflow_rrd_handler.service failed because the control process exited with
error code.<br>See "systemctl status sflow_rrd_handler.service" and
"journalctl -xe" for details.<br></div><div><br></div><div>Solution? </div><div><br></div><div><br></div><div><br></div></div><br>
<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>INEX
IXP Manager mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>Unsubscribe or change
options here: <a class="moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br></div>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:nick@foobar.org" moz-do-not-send="true">Nick
Hilliard</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">27
March 2021 at 21:28</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">Basil
Elbalaawi wrote on 27/03/2021 15:34:
<br><blockquote type="cite"><br>Hi
<br>In another side , How sflow-to-rrd-handler trying to figure out the
location of ixpmanager.conf to get the parameter it needed ? like
following :
<br>
<br>my $apibaseurl = defined($ixp->{ixp}->{apibaseurl}) ?
$ixp->{ixp}->{apibaseurl} : undef;
<br></blockquote>
<br>The configuration required is outlined in the documentation:
<br>
<br><a class="moz-txt-link-freetext" href="https://docs.ixpmanager.org/features/sflow-p2p/">https://docs.ixpmanager.org/features/sflow-p2p/</a>
<br>
<br>as you mentioned before the ixpmanager.conf needs to be put into
/usr/local/etc/
<br>
<br><blockquote type="cite"> should be transport two files
"sflow-to-rrd-handler" and
<br> "sflow-detect-ixp-bgp-sessions" to /usr/local/bin/ location,
after
<br> that run sflow_rrd_handler and sflow_bgp_handler cron job and
<br> insert it to Configuring auto-start services in Ubuntu ?
<br></blockquote>
<br>yes.
<br>
<br>Nick
<br>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:saifbasilyazan@gmail.com"
moz-do-not-send="true">Basil Elbalaawi</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">27
March 2021 at 15:34</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div
dir="ltr"><br><div>Hi </div><div>In another side , How
sflow-to-rrd-handler trying to figure out the location of <span
style="font-family:"Roboto
Mono",SFMono-Regular,Consolas,Menlo,monospace;font-size:11.05px">ixpmanager.</span><span
style="font-family:"Roboto
Mono",SFMono-Regular,Consolas,Menlo,monospace;font-size:11.05px">conf
to get the parameter it needed ? like following :</span></div><div><span
style="font-family:"Roboto
Mono",SFMono-Regular,Consolas,Menlo,monospace;font-size:11.05px"><br></span></div><div>my
$apibaseurl = defined($ixp->{ixp}->{apibaseurl}) ?
$ixp->{ixp}->{apibaseurl} : undef;<span
style="font-family:"Roboto
Mono",SFMono-Regular,Consolas,Menlo,monospace;font-size:11.05px"><br></span></div></div><br>
<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>INEX
IXP Manager mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>Unsubscribe or change
options here: <a class="moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br></div>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:saifbasilyazan@gmail.com"
moz-do-not-send="true">Basil Elbalaawi</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">27
March 2021 at 10:29</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div
dir="ltr">Hi support team <div><br></div><div>I am a separate sflow
collector?</div><div><br></div><div>there some of files used to support
tow feeder about peer-to-peer traffic and bgp session by two files
"sflow-to-rrd-handler" and "sflow-detect-ixp-bgp-sessions" , so my
question about </div><div><br></div><div>drwxr-xr-x 12 root root 4096
Mar 25 16:59 ../<br>-rwxr-xr-x 1 root root 1389 Mar 25 16:59
sflow_bgp_handler*<br>-rwxr-xr-x 1 root root 7844 Mar 25 16:59
sflow-detect-ixp-bgp-sessions*<br>-rwxr-xr-x 1 root root 1380 Mar 25
16:59 sflow_rrd_handler*<br>-rwxr-xr-x 1 root root 14885 Mar 25 16:59
sflow-to-rrd-handler*<br></div><div><br></div><div>should be transport
two files "sflow-to-rrd-handler" and "sflow-detect-ixp-bgp-sessions"
to /usr/local/bin/ location, after that run
sflow_rrd_handler
and
sflow_bgp_handler cron job and insert it to Configuring auto-start
services in Ubuntu ?</div><div><br></div><div>and
<span
style="color:rgba(0,0,0,0.87);font-family:Roboto,-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif">This
file should be placed in<span style="font-size:16px"> </span></span><code
style="box-sizing:inherit;font-feature-settings:"kern";font-family:"Roboto
Mono",SFMono-Regular,Consolas,Menlo,monospace;direction:ltr;padding:0px
0.294118em;font-size:0.85em;word-break:break-word;border-radius:0.1rem;outline:none">/usr/local/etc/ixpmanager.conf</code>
, where is the role here?</div><div><br></div><div><br></div></div>
<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>INEX
IXP Manager mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>Unsubscribe or change
options here: <a class="moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br></div>
</div>
</blockquote>
<br>
</body></html>