[ixpmanager] FW: Re[2]: Problem with SFlow
Ikusan Charles Abimbola
c.ikusan at ixp.net.ng
Mon Jun 1 20:19:29 IST 2020
Hello Nick,
I was checking the archive to see the progress and your response to the
thread below, I noticed that image I attached did not show so I have to
copy it and paste here below to respond to your request for # perl
sflow-to-rrd-handler --infraid 1.
root at sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl
sflow-to-rrd-handler --infraid 1
Not a HASH reference at sflow-to-rrd-handler line 390.
root at sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl
sflow-to-rrd-handler --infraid 2
Not a HASH reference at sflow-to-rrd-handler line 390.
root at sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl
sflow-to-rrd-handler --infraid 3
Not a HASH reference at sflow-to-rrd-handler line 390.
root at sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl
sflow-to-rrd-handler --infraid 4
Not a HASH reference at sflow-to-rrd-handler line 390.
root at sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl
sflow-to-rrd-handler
Not a HASH reference at sflow-to-rrd-handler line 385
Thanks,
Charles.
>>Dear Nick,
>>
>>
>>
>>I have been following up with this thread for days which is related to
>>the issues I have with my sFlow.
>>
>>
>>
>>Since we have not been able to hear from Salvador, I have done what
>>you asked him for if you could also assist us to resolve the issue at
>>hand.
>>
>>
>>
>>Underneath is the # perl sflow-to-rrd-handler --infraid 1 as
>>requested.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>I hope this information will be useful to resolve this issue.
>>
>>
>>
>>Warm regards,
>>
>>
>>
>>Charles.
>>
>>
>>
>>------ Original Message ------
>>
>>From: "Nick Hilliard (INEX)" <nick at inex.ie>
>>
>>To: "Salvador Bertenbreiter" <salvador at pitperu.net>
>>
>>Cc: "INEX IXP Manager Users Mailing List" <ixpmanager at inex.ie>
>>
>>Sent: 16-May-20 7:29:39 PM
>>
>>Subject: Re: [ixpmanager] Problem with SFlow
>>
>>
>>
>>>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) 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
>>>>>>
>>>>>>Nick
>>>>>>
>>>>>>_______________________________________________
>>>>>>INEX IXP Manager mailing list
>>>>>>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
>>>>>>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/20200601/012aa1a5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zxfx1ibd.png
Type: image/png
Size: 32049 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lprrs3c5.png
Type: image/png
Size: 114655 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 226832 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 112372 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0007.png>
More information about the ixpmanager
mailing list