[ixpmanager] MRTG
Nick Hilliard
nick at inex.ie
Sat Jun 9 22:58:01 IST 2018
IXP Manager just creates mrtg configuration files. If the graphs appear
on IXP Manager, then IXP Manager is working correctly, and the
configuration file that IXP Manager creates is OK.
If the graphs don't update correctly then it's a problem relating to how
you're using MRTG. In other words, it's not an IXP Manager problem.
Probably you've restarted MRTG using the wrong configuration file. You
should make sure that you only have a single mrtg.cfg file on the
filesystem, so you should delete /etc/mrtg/mrtg.cfg and just use
/etc/mrtg.cfg. Make sure that after you delete /etc/mrtg/mrtg.cfg, that
you restart mrtg using "service mrtg restart".
Nick
> Giorgi Kajaia <mailto:giokajana at gmail.com>
> 9 June 2018 at 13:52
> I think it started working but , on website it generated mrtg when i
> typed command , traffic is not updating . what should i do ?
>
>
> Nick Hilliard <mailto:nick at inex.ie>
> 8 June 2018 at 20:57
> That means that mrtg is running as daemon and using /etc/mrtg.cfg as
> the configuration file.
>
> If there's nothing in /srv/mrtg, then it means that either mrtg is
> using the wrong configuration file or else mrtg doesn't have write
> permission to /srv/mrtg
>
> You should check /etc/mrtg.cfg. If it looks like it was generated by
> IXP Manager, then it's probably a permissions problem in /srv/mrtg.
> If it looks like it wasn't generated by mrtg, then use artisan to
> create the correct mrtg.cfg file and put that file in /etc/mrtg.cfg,
> then restart the mrtg daemon.
>
> Nick
>
> Nick Hilliard <mailto:nick at inex.ie>
> 8 June 2018 at 14:54
> Right, that means there's a problem with MRTG.
>
> Is the MRTG daemon running? You can check using:
>
> # ps axww | grep mrtg
>
> Also, is there an MRTG config file in /etc/mrtg.cfg or /etc/mrtg/mrtg.cfg?
>
> Nick
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Nick Hilliard <mailto:nick at inex.ie>
> 8 June 2018 at 14:45
> The .env file looks ok. Are there any files in /srv/mrtg?
>
> Nick
>
> Nick Hilliard <mailto:nick at inex.ie>
> 7 June 2018 at 10:30
> These are the most recent errors:
>
>
>
> This means that IXP Manager is looking for the output of MRTG in
> /srv/mrtg, which needs to match up with
>
> Can you please post the output of:
>
> # grep -i grapher /srv/ixpmanager/.env
>
> You should exclude any lines which contain confidential info, e.g.
> SNMP communities, etc.
>
> Nick
> ------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180609/8aaff93c/attachment.html>
More information about the ixpmanager
mailing list