[ixpmanager] Running MRTG

Fabiano D'Agostino fabiano.dagostino96 at gmail.com
Thu Mar 12 15:31:31 GMT 2020


Hi,
I generated the MRTG configuration with this command: php artisan
grapher:generate-configuration -B mrtg -O /etc/mrtg.cfg
Then I created the index with: sudo indexmaker /etc/mrtg.cfg >
/srv/mrtg/index.html
And then I edited /etc/apache2/sites-available/mrtg.conf in this way:

<VirtualHost *:80>
ServerAdmin admin at yourdomain.com
DocumentRoot "/srv/mrtg"
ServerName yourdomain.com
<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>

Now on the IXP Manager homepage "Infrastructure Graphs", but they are
blanks without traffic.

Thanks,

Fabiano


Il giorno gio 12 mar 2020 alle ore 09:57 Barry O'Donovan <
barry.odonovan at inex.ie> ha scritto:

> Hi Fabiano,
>
> have you looked at this:
>
> https://docs.ixpmanager.org/grapher/mrtg/#troubleshooting
>
> If so, we'd need a lot more information and a lot of this is covered
> under 'The Best Way to Ask for Help' at:
>
> https://www.ixpmanager.org/support#asking-for-help
>
> If troubleshooting above doesn't help, we're always eager to have people
> contribute improvements and other tips to the documentation.
>
> Thanks,
>    - Barry
>
>
>
> Fabiano D'Agostino wrote on 12/03/2020 08:52:
> > Hi All,
> > I am having some issues to run MRTG on IXP Manager. I did the following
> > steps:
> >
> >  1. apt install rrdtool mrtg
> >  2. mkdir -p /srv/mrtg
> >  3. updated .env file
> >  4. php artisan grapher:generate-configuration -B mrtg
> >  5. php artisan grapher:generate-configuration -B mrtg -O
> >     /tmp/mrtg.cfg.candidate
> >
> > Now in IXP Manager's homepage I see blank graphs, how can I run MRTG?
> >
> > Thanks in advance,
> >
> > Fabiano
> >
> >
> > _______________________________________________
> > INEX IXP Manager mailing list
> > ixpmanager at inex.ie
> > Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
> >
>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200312/31ebf7e8/attachment.htm>


More information about the ixpmanager mailing list