<div dir="ltr">Edrich et al,<div><br></div><div>Thanks, I certainly thought so. However I am confused about that now. The notes on Grapher talk about starting and stopping using standard initd scripts ? Ubuntu 16.04 upon which the IXP Manager is based uses systemctl not initd. </div><div><div><br></div><div>According to the documentation:</div><div><br></div><div>To start and stop MRTG use the standard initd scripts:</div><div><br></div><div>ubuntu@ixpm1:~$ sudo cp $IXPROOT/tools/runtime/mrtg/ubuntu-mrtg-initd /etc/init.d/mrtg</div><div><br></div><div>ubuntu@ixpm1:~$ sudo chmod +x /etc/init.d/mrtg</div><div><br></div><div>ubuntu@ixpm1:~$ sudo update-rc.d mrtg defaults</div><div><br></div><div>ubuntu@ixpm1:~$ sudo /etc/init.d/mrtg start</div><div>[....] Starting mrtg (via systemctl): mrtg.serviceJob for mrtg.service failed because the control process exited with error code. See "systemctl status mrtg.service" and "journalctl -xe" for details.</div><div> failed!</div><div><br></div><div>ubuntu@ixpm1:~$ systemctl status mrtg.service</div><div>● mrtg.service - LSB: mrtg init script</div><div>   Loaded: loaded (/etc/init.d/mrtg; bad; vendor preset: enabled)</div><div>   Active: failed (Result: exit-code) since Fri 2018-03-02 11:06:15 UTC; 39s ago</div><div>     Docs: man:systemd-sysv-generator(8)</div><div>  Process: 1798 ExecStart=/etc/init.d/mrtg start (code=exited, status=2)</div><div><br></div><div>It then says: </div><div><br></div><div>And disable the default cron job for MRTG on Ubuntu (/etc/cron.d/mrtg).</div><div><br></div><div>So which is it, does it run as a daemon or does /etc/cron.d/mrtg run the cron every 5 minutes ? </div><div><br></div><div>My /var/log/mrtg/mrtg.log is giving the following message:</div><div><br></div><div>ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid</div><div>Daemonizing MRTG ...</div><div>ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid</div><div>Daemonizing MRTG ...</div><div>ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid</div><div>Daemonizing MRTG ...</div><div><br></div><div>root@ixpm1:~# cat /etc/mrtg.pid</div><div>1666</div><div><br></div><div>The MRTG process is running. </div><div><br></div><div>root@ixpm1:~# ps -ef | grep mrtg</div><div>root      1666     1  0 11:00 ?        00:00:00 /usr/bin/perl -w /usr/bin/mrtg /etc/mrtg.cfg</div><div><br></div></div><div>regards,<br></div><div><br></div><div>Diarmuid</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">--</div><div dir="ltr"><br><div><b style="font-size:small"><i><font color="#38761d">Irish by birth,</font><font color="#ff9900"> located in Uganda</font> but <font color="#cc0000">Munster by the grace of God.</font></i></b><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 28 February 2018 at 07:32, Edrich de Lange <span dir="ltr"><<a href="mailto:edd@delcon.biz" target="_blank">edd@delcon.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is your cron running?</div><div class="gmail_extra"><br clear="all"><div><div class="m_-6354401644387209460gmail_signature" data-smartmail="gmail_signature"><div><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div><img alt="Inline image 1" src="http://delcon.biz/delconeddsig.jpg" height="128" width="555"></div></div>
<br><div class="gmail_quote">On Wed, Feb 28, 2018 at 6:09 AM, Diarmuid O Briain <span dir="ltr"><<a href="mailto:diarmuid@obriain.com" target="_blank">diarmuid@obriain.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Barry,<div><br></div><div>I am running traffic between the ISPs and this is the graphs</div><div><br></div><div>regards,</div><div><br></div><div>Diarmuid</div><div><br></div><div><img src="cid:ii_161da9a1cc5bd0c8" alt="Inline images 1" width="562" height="538"><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-6354401644387209460m_626108075165990193gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">--</div><div dir="ltr"><br><div><b style="font-size:small"><i><font color="#38761d">Irish by birth,</font><font color="#ff9900"> located in Uganda</font> but <font color="#cc0000">Munster by the grace of God.</font></i></b><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="m_-6354401644387209460h5"><div class="gmail_quote">On 27 February 2018 at 23:08, Barry O'Donovan <span dir="ltr"><<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Diarmuid O Briain wrote:<br>
> I thought I had graphing working, the MRTG graphs appear. SNMP from the<br>
> switch is working, see extract from /etc/mrtg.cfg and I have done an<br>
> SNMP walk for the OID from the extract and the switch is responding.<br>
><br>
> What other things should I check ?<br>
<br>
It's not clear from the above as to what's not working?<br>
<br>
 - Barry<br>
<br>
<br>
______________________________<wbr>_________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/li<wbr>stinfo/ixpmanager</a><br>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/li<wbr>stinfo/ixpmanager</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/<wbr>listinfo/ixpmanager</a><br>
<br></blockquote></div><br></div>