[ixpmanager] Problem with SFlow

Nick Hilliard (INEX) nick at inex.ie
Sat May 16 19:29:39 IST 2020


Hi Salvador,

Can you try running sflow-to-rrd-handler with the --infraid parameter?

You can get the Infrastructure ID on the admin portal in the 
"Infrastructures" page.  It's listed in the DB ID column. E.g.

# perl sflow-to-rrd-handler --infraid 1

Nick

Salvador Bertenbreiter wrote on 13/05/2020 14:59:
> Hi Nick,
> Here are is the ixpmanager.conf file you asked for :)
>
> https://pastebin.ibn.ie/?140163a3ddcb8ad5#637N2NHCe3NzyBgZest14wGsvsBpt2RAT4Djr5VhPP8z
>
> Do you see anything strange on it that could explain why sflow isn't 
> working and it shows the HASH sflow-to-rrd-handler error message?
>
> Thank you,
>
> Salvador
>
> El mié., 29 de abr. de 2020 a la(s) 15:53, Nick Hilliard (INEX) 
> (nick at inex.ie <mailto:nick at inex.ie>) escribió:
>
>     Can you post your ixpmanager.conf file (obviously removing the
>     passwords / api keys first!)
>
>     Nick
>
>>     Salvador Bertenbreiter <mailto:salvador at pitperu.net>
>>     29 April 2020 at 20:48
>>     Hi Nick,
>>     Thank you for the suggestion. I was able to solve the missing
>>     perl dependencies error, but now we are facing another error when
>>     I run the "perl sflow-to-rrd-handler  --insanedbug" command I
>>     receive this error "Not a HASH reference at sflow-to-rrd-handler
>>     line 385."
>>
>>     image.png
>>
>>     An in the file the line 385 mentions "@infras = keys %{$mactable};
>>
>>     image.png
>>
>>     What could be the problem?
>>
>>     Thanks,
>>
>>     Salvador
>>
>>     Nick Hilliard (INEX) <mailto:nick at inex.ie>
>>     22 April 2020 at 21:44
>>
>>
>>     You're missing one of the perl libraries.  You should run the
>>     perl dependency script to see what's missing:
>>
>>     % perl ./tools/runtime/check-perl-dependencies.pl
>>     <http://check-perl-dependencies.pl>
>>
>>     Nick
>>
>>     _______________________________________________
>>     INEX IXP Manager mailing list
>>     ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
>>     Unsubscribe or change options here:
>>     https://www.inex.ie/mailman/listinfo/ixpmanager
>>     Salvador Bertenbreiter <mailto:salvador at pitperu.net>
>>     22 April 2020 at 20:59
>>     Dear IXP Manager team,
>>     We have IXP manager running with the switches connected via SNMP
>>     and it works fine. We installed sflow in the server and followed
>>     all the configuration steps (Documento Utilizado:
>>     https://docs.ixpmanager.org/features/sflow-p2p/) but there's no
>>     way to make it work.
>>
>>     This is the error we are seeing: *sflow-to-rrd-handler*
>>
>>     Complete error message:
>>
>>     root at ppixpmanager:/srv/ixpmanager/tools/runtime/sflow# perl
>>     sflow-to-rrd-handler --insanedebug
>>     Can't locate REST/Client.pm in @INC (you may need to install the
>>     REST::Client module) (@INC contains: /etc/perl
>>     /usr/local/lib/x86_64-linux-gnu/perl/5.26.1
>>     /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26
>>     /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26
>>     /usr/share/perl/5.26 /usr/local/lib/site_perl
>>     /usr/lib/x86_64-linux-gnu/perl-base) at sflow-to-rrd-handler line 37.
>>     BEGIN failed--compilation aborted at sflow-to-rrd-handler line 37.
>>
>>     Here is the configuration file for Sflow
>>
>>     https://pastebin.ibn.ie/?1952d8c3f922a859#GVf6451izDWqWPGTw5z6za14QV3AxTpduFDjewDmQuME
>>
>>     Thanks!
>>
>>     Salvador
>>
>>
>>
>>     _______________________________________________
>>     INEX IXP Manager mailing list
>>     ixpmanager at inex.ie <mailto: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/20200516/3f5a47d8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 58076 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200516/3f5a47d8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 54610 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200516/3f5a47d8/attachment-0003.png>


More information about the ixpmanager mailing list