[ixpmanager] ixpmanager Digest, Vol 89, Issue 1

Salvador Bertenbreiter salvador at pitperu.net
Mon Jun 1 20:28:38 IST 2020


Unfortunately I'm facing the same error

El lun., 1 de jun. de 2020 a la(s) 15:19, <ixpmanager-request at inex.ie>
escribió:

> Send ixpmanager mailing list submissions to
>         ixpmanager at inex.ie
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.inex.ie/mailman/listinfo/ixpmanager
> or, via email, send a message with subject or body 'help' to
>         ixpmanager-request at inex.ie
>
> You can reach the person managing the list at
>         ixpmanager-owner at inex.ie
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ixpmanager digest..."
>
>
> Today's Topics:
>
>    1. RRD files via API (David Croft)
>    2. Re: FW: Re[2]:  Problem with SFlow (Ikusan Charles Abimbola)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 1 Jun 2020 20:12:04 +0200
> From: David Croft <david-ixpmanager at infotrek.co.uk>
> To: INEX IXP Manager Users Mailing List <ixpmanager at inex.ie>
> Subject: [ixpmanager] RRD files via API
> Message-ID:
>         <
> CAKcwzCL93PYAAHgjvr7xq5CBy2EnPFhiaqtu9EcMvtahQAjxkw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I am trying via the API to get the RRD file (or, more generally, all the
> data points in it) for the IXP total infrastructure traffic. The goal is to
> produce nice graphs of the total traffic for the website.
>
> This page says I can set grapher "type" to "rrd":
>
> https://docs.ixpmanager.org/grapher/api/
>
> And I can see in app/Services/Grapher/Graph.php that "rrd" is a valid type.
>
> However URLs like this result in the error "No graphing backend configured
> to support the requested graph type.":
>
> ..ixpmanager/grapher/ixp?id=1&type=rrd
>
> ..ixpmanager/grapher/ixp?id=1&type=rrd&category=bits&backend=mrtg&apikey=xyz
>
> I thought it might be down to this being an aggregate graph - maybe there
> isn't a single RRD file that covers it - but it doesn't work for individual
> physical interfaces either; this gives the same message:
>
> ..ixpmanager/physicalinterface?id=11&type=rrd
>
> Please can you let me know if I'm doing something wrong - is it
> presently possible via the API to get the RRD file for the total IXP
> traffic? Or the data contained within it?
>
> Thanks
>
> David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/f066124b/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 01 Jun 2020 19:19:29 +0000
> From: "Ikusan Charles Abimbola" <c.ikusan at ixp.net.ng>
> To: ixpmanager at inex.ie
> Cc: "IXPN Help Desk" <noc at ixp.net.ng>
> Subject: Re: [ixpmanager] FW: Re[2]:  Problem with SFlow
> Message-ID: <em55b900af-2aa9-40b6-b3bd-05fdc5652228 at charz-pc>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> 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.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.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-0001.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-0002.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-0003.png
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ixpmanager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
> ------------------------------
>
> End of ixpmanager Digest, Vol 89, Issue 1
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/d3d859c9/attachment-0001.htm>


More information about the ixpmanager mailing list