<div dir="ltr">Unfortunately I'm facing the same error</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 1 de jun. de 2020 a la(s) 15:19, <<a href="mailto:ixpmanager-request@inex.ie">ixpmanager-request@inex.ie</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send ixpmanager mailing list submissions to<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:ixpmanager-request@inex.ie" target="_blank">ixpmanager-request@inex.ie</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:ixpmanager-owner@inex.ie" target="_blank">ixpmanager-owner@inex.ie</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ixpmanager digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. RRD files via API (David Croft)<br>
2. Re: FW: Re[2]: Problem with SFlow (Ikusan Charles Abimbola)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 1 Jun 2020 20:12:04 +0200<br>
From: David Croft <<a href="mailto:david-ixpmanager@infotrek.co.uk" target="_blank">david-ixpmanager@infotrek.co.uk</a>><br>
To: INEX IXP Manager Users Mailing List <<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a>><br>
Subject: [ixpmanager] RRD files via API<br>
Message-ID:<br>
<<a href="mailto:CAKcwzCL93PYAAHgjvr7xq5CBy2EnPFhiaqtu9EcMvtahQAjxkw@mail.gmail.com" target="_blank">CAKcwzCL93PYAAHgjvr7xq5CBy2EnPFhiaqtu9EcMvtahQAjxkw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
I am trying via the API to get the RRD file (or, more generally, all the<br>
data points in it) for the IXP total infrastructure traffic. The goal is to<br>
produce nice graphs of the total traffic for the website.<br>
<br>
This page says I can set grapher "type" to "rrd":<br>
<br>
<a href="https://docs.ixpmanager.org/grapher/api/" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/grapher/api/</a><br>
<br>
And I can see in app/Services/Grapher/Graph.php that "rrd" is a valid type.<br>
<br>
However URLs like this result in the error "No graphing backend configured<br>
to support the requested graph type.":<br>
<br>
..ixpmanager/grapher/ixp?id=1&type=rrd<br>
..ixpmanager/grapher/ixp?id=1&type=rrd&category=bits&backend=mrtg&apikey=xyz<br>
<br>
I thought it might be down to this being an aggregate graph - maybe there<br>
isn't a single RRD file that covers it - but it doesn't work for individual<br>
physical interfaces either; this gives the same message:<br>
<br>
..ixpmanager/physicalinterface?id=11&type=rrd<br>
<br>
Please can you let me know if I'm doing something wrong - is it<br>
presently possible via the API to get the RRD file for the total IXP<br>
traffic? Or the data contained within it?<br>
<br>
Thanks<br>
<br>
David<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/f066124b/attachment-0001.htm" rel="noreferrer" target="_blank">https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/f066124b/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 01 Jun 2020 19:19:29 +0000<br>
From: "Ikusan Charles Abimbola" <<a href="mailto:c.ikusan@ixp.net.ng" target="_blank">c.ikusan@ixp.net.ng</a>><br>
To: <a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
Cc: "IXPN Help Desk" <<a href="mailto:noc@ixp.net.ng" target="_blank">noc@ixp.net.ng</a>><br>
Subject: Re: [ixpmanager] FW: Re[2]: Problem with SFlow<br>
Message-ID: <em55b900af-2aa9-40b6-b3bd-05fdc5652228@charz-pc><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Hello Nick,<br>
<br>
I was checking the archive to see the progress and your response to the <br>
thread below, I noticed that image I attached did not show so I have to <br>
copy it and paste here below to respond to your request for # perl <br>
sflow-to-rrd-handler --infraid 1.<br>
<br>
root@sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl <br>
sflow-to-rrd-handler --infraid 1<br>
Not a HASH reference at sflow-to-rrd-handler line 390.<br>
root@sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl <br>
sflow-to-rrd-handler --infraid 2<br>
Not a HASH reference at sflow-to-rrd-handler line 390.<br>
root@sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl <br>
sflow-to-rrd-handler --infraid 3<br>
Not a HASH reference at sflow-to-rrd-handler line 390.<br>
root@sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl <br>
sflow-to-rrd-handler --infraid 4<br>
Not a HASH reference at sflow-to-rrd-handler line 390.<br>
root@sflow_server:/srv/ixpmanager/tools/runtime/sflow# perl <br>
sflow-to-rrd-handler<br>
Not a HASH reference at sflow-to-rrd-handler line 385<br>
<br>
<br>
<br>
<br>
Thanks,<br>
<br>
<br>
<br>
Charles.<br>
<br>
<br>
<br>
>>Dear Nick,<br>
>><br>
>><br>
>><br>
>>I have been following up with this thread for days which is related to <br>
>>the issues I have with my sFlow.<br>
>><br>
>><br>
>><br>
>>Since we have not been able to hear from Salvador, I have done what <br>
>>you asked him for if you could also assist us to resolve the issue at <br>
>>hand.<br>
>><br>
>><br>
>><br>
>>Underneath is the # perl sflow-to-rrd-handler --infraid 1 as <br>
>>requested.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>>I hope this information will be useful to resolve this issue.<br>
>><br>
>><br>
>><br>
>>Warm regards,<br>
>><br>
>><br>
>><br>
>>Charles.<br>
>><br>
>><br>
>><br>
>>------ Original Message ------<br>
>><br>
>>From: "Nick Hilliard (INEX)" <<a href="mailto:nick@inex.ie" target="_blank">nick@inex.ie</a>><br>
>><br>
>>To: "Salvador Bertenbreiter" <<a href="mailto:salvador@pitperu.net" target="_blank">salvador@pitperu.net</a>><br>
>><br>
>>Cc: "INEX IXP Manager Users Mailing List" <<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a>><br>
>><br>
>>Sent: 16-May-20 7:29:39 PM<br>
>><br>
>>Subject: Re: [ixpmanager] Problem with SFlow<br>
>><br>
>><br>
>><br>
>>>Hi Salvador,<br>
>>><br>
>>>Can you try running sflow-to-rrd-handler with the --infraid <br>
>>>parameter?<br>
>>><br>
>>>You can get the Infrastructure ID on the admin portal in the <br>
>>>"Infrastructures" page. It's listed in the DB ID column. E.g.<br>
>>><br>
>>># perl sflow-to-rrd-handler --infraid 1<br>
>>><br>
>>>Nick<br>
>>><br>
>>>Salvador Bertenbreiter wrote on 13/05/2020 14:59:<br>
>>><br>
>>>>Hi Nick,<br>
>>>><br>
>>>>Here are is the ixpmanager.conf file you asked for :)<br>
>>>><br>
>>>><br>
>>>><br>
>>>><a href="https://pastebin.ibn.ie/?140163a3ddcb8ad5#637N2NHCe3NzyBgZest14wGsvsBpt2RAT4Djr5VhPP8z" rel="noreferrer" target="_blank">https://pastebin.ibn.ie/?140163a3ddcb8ad5#637N2NHCe3NzyBgZest14wGsvsBpt2RAT4Djr5VhPP8z</a><br>
>>>><br>
>>>><br>
>>>><br>
>>>>Do you see anything strange on it that could explain why sflow isn't <br>
>>>>working and it shows the HASH sflow-to-rrd-handler error message?<br>
>>>><br>
>>>><br>
>>>><br>
>>>>Thank you,<br>
>>>><br>
>>>><br>
>>>><br>
>>>>Salvador<br>
>>>><br>
>>>><br>
>>>><br>
>>>>El mi?., 29 de abr. de 2020 a la(s) 15:53, Nick Hilliard (INEX) <br>
>>>>(<a href="mailto:nick@inex.ie" target="_blank">nick@inex.ie</a>) escribi?:<br>
>>>><br>
>>>>>Can you post your ixpmanager.conf file (obviously removing the <br>
>>>>>passwords / api keys first!)<br>
>>>>><br>
>>>>>Nick<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>>>Salvador Bertenbreiter <mailto:<a href="mailto:salvador@pitperu.net" target="_blank">salvador@pitperu.net</a>><br>
>>>>>><br>
>>>>>>29 April 2020 at 20:48<br>
>>>>>><br>
>>>>>>Hi Nick,<br>
>>>>>><br>
>>>>>>Thank you for the suggestion. I was able to solve the missing perl <br>
>>>>>>dependencies error, but now we are facing another error when I run <br>
>>>>>>the "perl sflow-to-rrd-handler --insanedbug" command I receive <br>
>>>>>>this error "Not a HASH reference at sflow-to-rrd-handler line <br>
>>>>>>385."<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>image.png<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>An in the file the line 385 mentions "@infras = keys %{$mactable};<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>image.png<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>What could be the problem?<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Thanks,<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Salvador<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Nick Hilliard (INEX) <mailto:<a href="mailto:nick@inex.ie" target="_blank">nick@inex.ie</a>><br>
>>>>>><br>
>>>>>>22 April 2020 at 21:44<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>You're missing one of the perl libraries. You should run the perl <br>
>>>>>>dependency script to see what's missing:<br>
>>>>>><br>
>>>>>>% perl ./tools/runtime/<a href="http://check-perl-dependencies.pl" rel="noreferrer" target="_blank">check-perl-dependencies.pl</a><br>
>>>>>><br>
>>>>>>Nick<br>
>>>>>><br>
>>>>>>_______________________________________________<br>
>>>>>>INEX IXP Manager mailing list<br>
>>>>>><a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
>>>>>>Unsubscribe or change options here: <br>
>>>>>><a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
>>>>>><br>
>>>>>>Salvador Bertenbreiter <mailto:<a href="mailto:salvador@pitperu.net" target="_blank">salvador@pitperu.net</a>><br>
>>>>>><br>
>>>>>>22 April 2020 at 20:59<br>
>>>>>><br>
>>>>>>Dear IXP Manager team,<br>
>>>>>><br>
>>>>>>We have IXP manager running with the switches connected via SNMP <br>
>>>>>>and it works fine. We installed sflow in the server and followed <br>
>>>>>>all the configuration steps (Documento Utilizado: <br>
>>>>>><a href="https://docs.ixpmanager.org/features/sflow-p2p/" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/features/sflow-p2p/</a>) but there's no <br>
>>>>>>way to make it work.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>This is the error we are seeing: sflow-to-rrd-handler<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Complete error message:<br>
>>>>>><br>
>>>>>>root@ppixpmanager:/srv/ixpmanager/tools/runtime/sflow# perl <br>
>>>>>>sflow-to-rrd-handler --insanedebug<br>
>>>>>>Can't locate REST/Client.pm in @INC (you may need to install the <br>
>>>>>>REST::Client module) (@INC contains: /etc/perl <br>
>>>>>>/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 <br>
>>>>>>/usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 <br>
>>>>>>/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 <br>
>>>>>>/usr/share/perl/5.26 /usr/local/lib/site_perl <br>
>>>>>>/usr/lib/x86_64-linux-gnu/perl-base) at sflow-to-rrd-handler line <br>
>>>>>>37.<br>
>>>>>>BEGIN failed--compilation aborted at sflow-to-rrd-handler line 37.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Here is the configuration file for Sflow<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><a href="https://pastebin.ibn.ie/?1952d8c3f922a859#GVf6451izDWqWPGTw5z6za14QV3AxTpduFDjewDmQuME" rel="noreferrer" target="_blank">https://pastebin.ibn.ie/?1952d8c3f922a859#GVf6451izDWqWPGTw5z6za14QV3AxTpduFDjewDmQuME</a><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Thanks!<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>Salvador<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>>_______________________________________________<br>
>>>>>>INEX IXP Manager mailing list<br>
>>>>>><a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
>>>>>>Unsubscribe or change options here: <br>
>>>>>><a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>><br>
>>><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment.htm" rel="noreferrer" target="_blank">https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: zxfx1ibd.png<br>
Type: image/png<br>
Size: 32049 bytes<br>
Desc: not available<br>
URL: <<a href="https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment.png" rel="noreferrer" target="_blank">https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: lprrs3c5.png<br>
Type: image/png<br>
Size: 114655 bytes<br>
Desc: not available<br>
URL: <<a href="https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0001.png" rel="noreferrer" target="_blank">https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0001.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 226832 bytes<br>
Desc: not available<br>
URL: <<a href="https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0002.png" rel="noreferrer" target="_blank">https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0002.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 112372 bytes<br>
Desc: not available<br>
URL: <<a href="https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0003.png" rel="noreferrer" target="_blank">https://www.inex.ie/pipermail/ixpmanager/attachments/20200601/012aa1a5/attachment-0003.png</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ixpmanager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ixpmanager Digest, Vol 89, Issue 1<br>
*****************************************<br>
</blockquote></div>