<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Barry,<div>thanks for answering, I was reading at this article <a href="https://www.iceflatline.com/2009/08/how-to-install-and-configure-mrtg-on-ubuntu-server/">https://www.iceflatline.com/2009/08/how-to-install-and-configure-mrtg-on-ubuntu-server/</a> posted in IXP Manager documentation. In this guide there is this command: </div><div><br></div><table class="gmail-crayon-table" style="box-sizing:inherit;word-wrap:break-word;display:block;margin:0px;overflow:auto;font-family:monospace;font-size:12px;color:rgb(64,64,64);border-collapse:collapse;border-spacing:0px;width:auto;border:none;padding:0px;background-image:none;table-layout:auto"><tbody style="box-sizing:inherit;word-wrap:break-word"><tr class="gmail-crayon-row" style="box-sizing:inherit;word-wrap:break-word;border:none;padding:0px;vertical-align:top;margin:0px;background-position:0px 50%"><td class="gmail-crayon-code" style="box-sizing:inherit;word-wrap:break-word;border:0px;width:839.765625px;padding:0px;font-family:monospace;vertical-align:top;background-position:0px 50%"><div class="gmail-crayon-pre" style="box-sizing:inherit;word-wrap:break-word;padding:0px;margin:0px;color:rgb(0,0,0);white-space:pre;overflow:visible;background-image:none;border:none;line-height:15px"><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><span class="gmail-crayon-e" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;color:rgb(0,78,208)">sudo </span><span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">cfgmaker</span><span class="gmail-crayon-h" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;color:rgb(0,111,224)"> </span>--<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">output</span>=/<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">etc</span>/<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">mrtg</span>/<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">mrtg</span><span class="gmail-crayon-sy" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;color:rgb(51,51,51)">.</span><span class="gmail-crayon-e" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;color:rgb(0,78,208)">cfg </span><span class="gmail-crayon-m" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;color:rgb(128,0,128)">public</span><span class="gmail-crayon-sy" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;color:rgb(51,51,51)">@</span><span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">your</span>-<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">router</span>'<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">s</span>-<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">IP</span>-<span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit">address</span></div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><span class="gmail-crayon-i" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit"><br></span></div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%">, but I suppose I don't need to execute this command because IXP Manager generates the mrtg.cfg file.</div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><br></div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%">I mean I did all the Essential Steps of Post-Install section in IXP Manager documentation, are there other things to do to have mrtg working? (I've already done the steps in mrtg documentation posted above)</div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><br></div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%">Anyway I am using:</div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%">Ubuntu Server </div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><span style="color:rgb(248,249,250);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:12.800000190734863px;text-align:center;white-space:normal;background-color:rgb(52,58,64)">IXP Manager V5.4.1 </span> </div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><br></div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%">Thanks again,</div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%"><br></div><div class="gmail-crayon-line" id="gmail-crayon-5e6b469dce522218901863-1" style="box-sizing:inherit;word-wrap:break-word;font-family:inherit;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;white-space:pre-wrap;background-position:0px 50%">Fabiano</div></div></td></tr></tbody></table></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 12 mar 2020 alle ore 17:06 Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie">barry.odonovan@inex.ie</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Fabiano,<br>
<br>
also, it would help if you could provide some of the info asked for in:<br>
<br>
<a href="https://www.ixpmanager.org/support#asking-for-help" rel="noreferrer" target="_blank">https://www.ixpmanager.org/support#asking-for-help</a><br>
<br>
Specifically: config, logs, OS, version.<br>
<br>
Thanks,<br>
- Barry<br>
<br>
<br>
Barry O'Donovan wrote on 12/03/2020 15:40:<br>
> Hi Fabiano,<br>
> <br>
> > I mean I also have to install MRTG following the procedure on the <br>
> official site?<br>
> <br>
> MRTG is not part of IXP Manager itself - it is a separate program. IXP <br>
> Manager generates configuration for it so that you can create traffic <br>
> graphs appropriate for display in IXP Manager.<br>
> <br>
> It needs to be installed in whatever the appropriate way is for your <br>
> operating system.<br>
> <br>
> You do not need to run indexmaker or configure Apache - that would only <br>
> be required if you wanted to display MRTG graphs separate to IXP Manager.<br>
> <br>
> <br>
> I think the documentation here is fairly comprehensive:<br>
> <br>
> <a href="https://docs.ixpmanager.org/grapher/mrtg/#mrtg-setup-and-configuration" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/grapher/mrtg/#mrtg-setup-and-configuration</a><br>
> <br>
> I think a decent reading of that page should help.<br>
> <br>
> - Barry<br>
> <br>
> <br>
> <br>
> <br>
> Fabiano D'Agostino wrote on 12/03/2020 15:31:<br>
>> Hi,<br>
>> I generated the MRTG configuration with this command: php artisan <br>
>> grapher:generate-configuration -B mrtg -O /etc/mrtg.cfg<br>
>> Then I created the index with: sudo indexmaker /etc/mrtg.cfg > <br>
>> /srv/mrtg/index.html<br>
>> And then I edited /etc/apache2/sites-available/mrtg.conf in this way:<br>
>><br>
>> <VirtualHost *:80><br>
>> <a href="mailto:ServerAdminadmin@yourdomain.com" target="_blank">ServerAdminadmin@yourdomain.com</a> <mailto:<a href="mailto:admin@yourdomain.com" target="_blank">admin@yourdomain.com</a>><br>
>> DocumentRoot "/srv/mrtg"<br>
>> ServerNameyourdomain.com <<a href="http://yourdomain.com" rel="noreferrer" target="_blank">http://yourdomain.com</a>><br>
>> <Directory "/srv/mrtg/"><br>
>> Options None<br>
>> AllowOverride None<br>
>> Order allow,deny<br>
>> Allow from all<br>
>> Require all granted<br>
>> </Directory><br>
>> TransferLog /var/log/apache2/mrtg_access.log<br>
>> ErrorLog /var/log/apache2/mrtg_error.log<br>
>> </VirtualHost><br>
>><br>
>> Now on the IXP Manager homepage "Infrastructure Graphs", but they are <br>
>> blanks without traffic.<br>
>><br>
>> Thanks,<br>
>><br>
>> Fabiano<br>
>><br>
>><br>
>> Il giorno gio 12 mar 2020 alle ore 09:57 Barry O'Donovan <br>
>> <<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a> <mailto:<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>>> ha scritto:<br>
>><br>
>> Hi Fabiano,<br>
>><br>
>> have you looked at this:<br>
>><br>
>> <a href="https://docs.ixpmanager.org/grapher/mrtg/#troubleshooting" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/grapher/mrtg/#troubleshooting</a><br>
>><br>
>> If so, we'd need a lot more information and a lot of this is covered<br>
>> under 'The Best Way to Ask for Help' at:<br>
>><br>
>> <a href="https://www.ixpmanager.org/support#asking-for-help" rel="noreferrer" target="_blank">https://www.ixpmanager.org/support#asking-for-help</a><br>
>><br>
>> If troubleshooting above doesn't help, we're always eager to have<br>
>> people<br>
>> contribute improvements and other tips to the documentation.<br>
>><br>
>> Thanks,<br>
>> - Barry<br>
>><br>
>><br>
>><br>
>> Fabiano D'Agostino wrote on 12/03/2020 08:52:<br>
>> > Hi All,<br>
>> > I am having some issues to run MRTG on IXP Manager. I did the<br>
>> following<br>
>> > steps:<br>
>> ><br>
>> > 1. apt install rrdtool mrtg<br>
>> > 2. mkdir -p /srv/mrtg<br>
>> > 3. updated .env file<br>
>> > 4. php artisan grapher:generate-configuration -B mrtg<br>
>> > 5. php artisan grapher:generate-configuration -B mrtg -O<br>
>> > /tmp/mrtg.cfg.candidate<br>
>> ><br>
>> > Now in IXP Manager's homepage I see blank graphs, how can I run <br>
>> MRTG?<br>
>> ><br>
>> > Thanks in advance,<br>
>> ><br>
>> > Fabiano<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > INEX IXP Manager mailing list<br>
>> > <a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a> <mailto:<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>
>> Kind regards,<br>
>> Barry O'Donovan<br>
>> INEX Operations<br>
>><br>
>> <a href="https://www.inex.ie/support/" rel="noreferrer" target="_blank">https://www.inex.ie/support/</a><br>
>> +353 1 531 3339<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>
-- <br>
<br>
Kind regards,<br>
Barry O'Donovan<br>
INEX Operations<br>
<br>
<a href="https://www.inex.ie/support/" rel="noreferrer" target="_blank">https://www.inex.ie/support/</a><br>
+353 1 531 3339<br>
<br>
<br>
</blockquote></div>