<div dir="ltr"><div dir="ltr">Hi,<div>I generated the MRTG configuration with this command: <span style="color:rgb(64,64,64);font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px">php artisan grapher:generate-configuration -B mrtg -O </span><span style="font-style:inherit;color:rgb(0,0,0);font-family:"Courier New",Courier,mono;font-size:16px;white-space:pre-wrap;background-color:rgb(249,249,249)">/etc/mrtg.cfg</span></div><div><span style="font-style:inherit;color:rgb(0,0,0);font-family:"Courier New",Courier,mono;font-size:16px;white-space:pre-wrap;background-color:rgb(249,249,249)">Then I created the index with: </span><span style="font-style:inherit;color:rgb(0,0,0);font-family:"Courier New",Courier,mono;font-size:16px;white-space:pre-wrap;background-color:rgb(249,249,249)">sudo indexmaker /etc/mrtg.cfg > /srv/mrtg/index.html</span></div><div><span style="font-style:inherit;color:rgb(0,0,0);font-family:"Courier New",Courier,mono;font-size:16px;white-space:pre-wrap;background-color:rgb(249,249,249)">And then I edited </span><span style="font-style:inherit;color:rgb(0,0,0);font-family:"Courier New",Courier,mono;font-size:16px;white-space:pre-wrap;background-color:rgb(249,249,249)">/etc/apache2/sites-available/mrtg.conf in this way: </span></div><div><pre style="white-space:pre-wrap;font-size:16px;margin-top:0px;margin-bottom:10px;padding:9.5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;line-height:18.5667px;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;box-sizing:border-box;color:rgb(51,51,51);overflow:auto;word-break:break-all"><VirtualHost *:80>
ServerAdmin <a href="mailto:admin@yourdomain.com" target="_blank">admin@yourdomain.com</a>
DocumentRoot "/srv/mrtg"
ServerName <a href="http://yourdomain.com" target="_blank">yourdomain.com</a>
<Directory "/srv/mrtg/">
Options None
AllowOverride None
Order allow,deny
Allow from all
Require all granted
</Directory>
TransferLog /var/log/apache2/mrtg_access.log
ErrorLog /var/log/apache2/mrtg_error.log
</VirtualHost></pre><pre style="white-space:pre-wrap;font-size:16px;margin-top:0px;margin-bottom:10px;padding:9.5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;line-height:18.5667px;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;box-sizing:border-box;overflow:auto;word-break:break-all"><span style="color:rgb(51,51,51)">Now on the IXP Manager homepage </span>"Infrastructure Graphs", but they are blanks without traffic.</pre><pre style="white-space:pre-wrap;font-size:16px;margin-top:0px;margin-bottom:10px;padding:9.5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;line-height:18.5667px;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;box-sizing:border-box;overflow:auto;word-break:break-all">Thanks,</pre><pre style="white-space:pre-wrap;font-size:16px;margin-top:0px;margin-bottom:10px;padding:9.5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;line-height:18.5667px;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;box-sizing:border-box;overflow:auto;word-break:break-all">Fabiano</pre></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 12 mar 2020 alle ore 09:57 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">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 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 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 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><br>
> Unsubscribe or change options here: <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>
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>