[ixpmanager] MRTG

Nick Hilliard nick at inex.ie
Fri Jun 8 20:57:15 IST 2018


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
> Giorgi Kajaia <mailto:giokajana at gmail.com>
> 8 June 2018 at 15:00
> Here is Outpout of ps axww | grep mrtg
> root at root:~# ps axww | grep mrtg
>  4206 poh ts/0    S+     0:00 grep --color=auto mrtg
> 21367 ?        Ss     0:00 /usr/bin/perl -w /usr/bin/mrtg --daemon 
> --pid-file=/e         tc/mrtg/mrtg.pid /etc/mrtg.cfg
>
> And i dont know why but there is both in /etc/mrtg.cfg and also 
> /etc/mrtg/mrtg.cfg file ( i think thats because i tried too many 
> methods to run mrtg ) :D
>
>
>
>
> 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
> Giorgi Kajaia <mailto:giokajana at gmail.com>
> 6 June 2018 at 13:36
> Can you Help solving With that problem?
>
>
>
> Thanks in advance.
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180608/d6c0cba8/attachment.html>


More information about the ixpmanager mailing list