[ixpmanager] Running MRTG

Barry O'Donovan barry.odonovan at inex.ie
Thu Mar 12 16:06:42 GMT 2020


Fabiano,

also, it would help if you could provide some of the info asked for in:

https://www.ixpmanager.org/support#asking-for-help

Specifically: config, logs, OS, version.

Thanks,
  - Barry


Barry O'Donovan wrote on 12/03/2020 15:40:
> Hi Fabiano,
> 
>  > I mean I also have to install MRTG following the procedure on the 
> official site?
> 
> MRTG is not part of IXP Manager itself - it is a separate program. IXP 
> Manager generates configuration for it so that you can create traffic 
> graphs appropriate for display in IXP Manager.
> 
> It needs to be installed in whatever the appropriate way is for your 
> operating system.
> 
> You do not need to run indexmaker or configure Apache - that would only 
> be required if you wanted to display MRTG graphs separate to IXP Manager.
> 
> 
> I think the documentation here is fairly comprehensive:
> 
> https://docs.ixpmanager.org/grapher/mrtg/#mrtg-setup-and-configuration
> 
> I think a decent reading of that page should help.
> 
>   - Barry
> 
> 
> 
> 
> Fabiano D'Agostino wrote on 12/03/2020 15:31:
>> 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>
>> ServerAdminadmin at yourdomain.com <mailto:admin at yourdomain.com>
>> DocumentRoot "/srv/mrtg"
>> ServerNameyourdomain.com <http://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 <mailto: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 <mailto: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
>>
>>
>>
>>
>> _______________________________________________
>> 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




More information about the ixpmanager mailing list