<div dir="ltr">I think it started working but , on website it generated mrtg when i typed command , traffic is not updating . what should i do ?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 8, 2018 at 11:57 PM, Nick Hilliard <span dir="ltr"><<a href="mailto:nick@inex.ie" target="_blank">nick@inex.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#485663" bgcolor="#FFFFFF">That means that mrtg is
running as daemon and using /etc/mrtg.cfg as the configuration file.<br>
<br>
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<br>
<br>
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.<br>
<br>
Nick<span></span><br>
<blockquote type="cite" style="border:0px none!important">
<div class="m_97627785337255250__pbConvHr" style="margin:30px 25px 10px 25px"><div style="width:100%;border-top:2px solid #edf1f4;padding-top:10px"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%">
<a style="color:#485664!important;padding-right:6px;font-weight:500;text-decoration:none!important" href="mailto:giokajana@gmail.com" target="_blank">Giorgi
Kajaia</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:right"> <font color="#909AA4"><span style="padding-left:6px">8
June 2018 at 15:00</span></font></div> </div></div>
<div class="m_97627785337255250__pbConvBody" style="color:#909aa4;margin-left:24px;margin-right:24px"><div dir="ltr"><span class="">Here
is Outpout of ps axww | grep mrtg <br><div>root@root:~# ps axww | grep
mrtg</div></span><div> 4206 poh ts/0 S+ 0:00 grep --color=auto mrtg</div><span class=""><div>21367
? Ss 0:00 /usr/bin/perl -w /usr/bin/mrtg --daemon
--pid-file=/e tc/mrtg/mrtg.pid /etc/mrtg.cfg</div><div><br></div><div>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 </div><div><br></div><div><br></div></span></div><div class="gmail_extra"><br><br></div>
</div>
<div class="m_97627785337255250__pbConvHr" style="margin:30px 25px 10px 25px"><div style="width:100%;border-top:2px solid #edf1f4;padding-top:10px"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%">
<a style="color:#485664!important;padding-right:6px;font-weight:500;text-decoration:none!important" href="mailto:nick@inex.ie" target="_blank">Nick
Hilliard</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:right"> <font color="#909AA4"><span style="padding-left:6px">8
June 2018 at 14:54</span></font></div> </div></div>
<div class="m_97627785337255250__pbConvBody" style="color:#909aa4;margin-left:24px;margin-right:24px"><span class="">
Right, that means there's a
problem with MRTG.<br>
<br>
Is the MRTG daemon running? You can check using:<br>
<br>
# ps axww | grep mrtg<br>
<br>
Also, is there an MRTG config file in /etc/mrtg.cfg or
/etc/mrtg/mrtg.cfg?<br>
<span>
</span><br>
Nick<br>
<br>
<br><fieldset class="m_97627785337255250mimeAttachmentHeader"></fieldset><br></span><span class=""><div>______________________________<wbr>_________________<br>INEX
IXP Manager mailing list<br><a class="m_97627785337255250moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>Unsubscribe or change
options here: <a class="m_97627785337255250moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager" target="_blank">https://www.inex.ie/mailman/<wbr>listinfo/ixpmanager</a><br></div>
</span></div><span class="">
<div class="m_97627785337255250__pbConvHr" style="margin:30px 25px 10px 25px"><div style="width:100%;border-top:2px solid #edf1f4;padding-top:10px"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%">
<a style="color:#485664!important;padding-right:6px;font-weight:500;text-decoration:none!important" href="mailto:nick@inex.ie" target="_blank">Nick
Hilliard</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:right"> <font color="#909AA4"><span style="padding-left:6px">8
June 2018 at 14:45</span></font></div> </div></div>
<div class="m_97627785337255250__pbConvBody" style="color:#909aa4;margin-left:24px;margin-right:24px">
The .env file looks ok.
Are there any files in /srv/mrtg?<br>
<br>
Nick<br>
<br>
</div>
<div class="m_97627785337255250__pbConvHr" style="margin:30px 25px 10px 25px"><div style="width:100%;border-top:2px solid #edf1f4;padding-top:10px"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%">
<a style="color:#485664!important;padding-right:6px;font-weight:500;text-decoration:none!important" href="mailto:nick@inex.ie" target="_blank">Nick
Hilliard</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:right"> <font color="#909AA4"><span style="padding-left:6px">7
June 2018 at 10:30</span></font></div> </div></div>
<div class="m_97627785337255250__pbConvBody" style="color:#909aa4;margin-left:24px;margin-right:24px">These are the
most recent errors:
<br>
<br><br>
<br>This means that IXP Manager is looking for the output of MRTG in
/srv/mrtg, which needs to match up with
<br>
<br>Can you please post the output of:
<br>
<br># grep -i grapher /srv/ixpmanager/.env
<br>
<br>You should exclude any lines which contain confidential info, e.g.
SNMP
communities, etc.
<br>
<br>Nick
<br>
</div>
<div class="m_97627785337255250__pbConvHr" style="margin:30px 25px 10px 25px"><div style="width:100%;border-top:2px solid #edf1f4;padding-top:10px"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%">
<a style="color:#485664!important;padding-right:6px;font-weight:500;text-decoration:none!important" href="mailto:giokajana@gmail.com" target="_blank">Giorgi
Kajaia</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:right"> <font color="#909AA4"><span style="padding-left:6px">6
June 2018 at 13:36</span></font></div> </div></div>
<div class="m_97627785337255250__pbConvBody" style="color:#909aa4;margin-left:24px;margin-right:24px"><div dir="ltr">Can
you Help solving With that problem? <br><br><br><br>Thanks in advance. </div><div class="gmail_extra"><br><br></div>
</div>
</span></blockquote>
<br>
</div>
</blockquote></div><br></div>