[ixpmanager] sflow collector !!!!

Nick Hilliard nick at foobar.org
Wed Mar 31 17:33:56 IST 2021


Hi Basil,

apologies, the sflow_rrd_handler and sflow_bgp_handler are freebsd 
startup scripts, not Ubuntu.

You should be able to put sflow-to-rrd-handler and 
sflow-detect-ixp-bgp-sessions directly into systemd config files on Ubuntu.

Nick

> Basil Elbalaawi <mailto:saifbasilyazan at gmail.com>
> 28 March 2021 at 17:49
>
> Hi Nick
>
> AT ubuntu 20.04
>
> root at sflow:/etc/init.d# *systemctl status sflow_bgp_handler.service*
> ● sflow_bgp_handler.service
>      Loaded: loaded (/etc/init.d/sflow_bgp_handler; generated)
>      Active: failed (Result: exit-code) since Sun 2021-03-28 16:29:19 
> UTC; 14s ago
>  Docs: man:systemd-sysv-generator(8)
>     Process: 6622 ExecStart=/etc/init.d/sflow_bgp_handler start 
> (code=exited, status=127)
>
> Mar 28 16:29:19 sflow systemd[1]: Starting sflow_bgp_handler.service...
> Mar 28 16:29:19 sflow sflow_bgp_handler[6622]: 
> */etc/init.d/sflow_bgp_handler: 29: .: Can't open /etc/rc.subr*
> Mar 28 16:29:19 sflow systemd[1]: sflow_bgp_handler.service: Control 
> process exited, code=exited, status=127/n/a
> Mar 28 16:29:19 sflow systemd[1]: sflow_bgp_handler.service: Failed 
> with result 'exit-code'.
> Mar 28 16:29:19 sflow systemd[1]: Failed to start 
> sflow_bgp_handler.service.
> root at sflow:/etc/init.d# systemctl restart sflow_rrd_handler.service
> Job for sflow_rrd_handler.service failed because the control process 
> exited with error code.
> See "systemctl status sflow_rrd_handler.service" and "journalctl -xe" 
> for details.
>
> Solution?
>
>
>
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Nick Hilliard <mailto:nick at foobar.org>
> 27 March 2021 at 21:28
> Basil Elbalaawi wrote on 27/03/2021 15:34:
>>
>> Hi
>> 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 :
>>
>> my $apibaseurl = defined($ixp->{ixp}->{apibaseurl}) ? 
>> $ixp->{ixp}->{apibaseurl} : undef;
>
> The configuration required is outlined in the documentation:
>
> https://docs.ixpmanager.org/features/sflow-p2p/
>
> as you mentioned before the ixpmanager.conf needs to be put into 
> /usr/local/etc/
>
>>     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 ?
>
> yes.
>
> Nick
> Basil Elbalaawi <mailto:saifbasilyazan at gmail.com>
> 27 March 2021 at 15:34
>
> Hi
> 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 :
>
> my $apibaseurl = defined($ixp->{ixp}->{apibaseurl}) ? 
> $ixp->{ixp}->{apibaseurl} : undef;
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Basil Elbalaawi <mailto:saifbasilyazan at gmail.com>
> 27 March 2021 at 10:29
> Hi support team
>
> I am a separate sflow collector?
>
> 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
>
> drwxr-xr-x 12 root root  4096 Mar 25 16:59 ../
> -rwxr-xr-x  1 root root  1389 Mar 25 16:59 sflow_bgp_handler*
> -rwxr-xr-x  1 root root  7844 Mar 25 16:59 sflow-detect-ixp-bgp-sessions*
> -rwxr-xr-x  1 root root  1380 Mar 25 16:59 sflow_rrd_handler*
> -rwxr-xr-x  1 root root 14885 Mar 25 16:59 sflow-to-rrd-handler*
>
> 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 ?
>
> and This file should be placed in|/usr/local/etc/ixpmanager.conf| , 
> where is the role here?
>
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20210331/33a26872/attachment-0001.htm>


More information about the ixpmanager mailing list