<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hello </span>Diarmuid,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Did you install IXP Manager using the script? If the answer is yes try the following commands:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>./artisan grapher:generate-configuration -B mrtg -O /srv/mrtg.cfg.candidate<o:p></o:p></p><p class=MsoNormal>killall -9 mrtg<o:p></o:p></p><p class=MsoNormal>env LANG=C /usr/bin/mrtg /srv/mrtg.cfg.candidate<o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Muyiwa (IXPN)<o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> ixpmanager [mailto:ixpmanager-bounces@inex.ie] <b>On Behalf Of </b>Diarmuid O Briain<br><b>Sent:</b> 02 March 2018 12:24<br><b>To:</b> INEX IXP Manager Mailing List <ixpmanager@inex.ie><br><b>Subject:</b> Re: [ixpmanager] Graphing<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Edrich et al,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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. <o:p></o:p></p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>According to the documentation:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>To start and stop MRTG use the standard initd scripts:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ubuntu@ixpm1:~$ sudo cp $IXPROOT/tools/runtime/mrtg/ubuntu-mrtg-initd /etc/init.d/mrtg<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ubuntu@ixpm1:~$ sudo chmod +x /etc/init.d/mrtg<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ubuntu@ixpm1:~$ sudo update-rc.d mrtg defaults<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ubuntu@ixpm1:~$ sudo /etc/init.d/mrtg start<o:p></o:p></p></div><div><p class=MsoNormal>[....] 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.<o:p></o:p></p></div><div><p class=MsoNormal> failed!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ubuntu@ixpm1:~$ systemctl status mrtg.service<o:p></o:p></p></div><div><p class=MsoNormal>● mrtg.service - LSB: mrtg init script<o:p></o:p></p></div><div><p class=MsoNormal> Loaded: loaded (/etc/init.d/mrtg; bad; vendor preset: enabled)<o:p></o:p></p></div><div><p class=MsoNormal> Active: failed (Result: exit-code) since Fri 2018-03-02 11:06:15 UTC; 39s ago<o:p></o:p></p></div><div><p class=MsoNormal> Docs: man:systemd-sysv-generator(8)<o:p></o:p></p></div><div><p class=MsoNormal> Process: 1798 ExecStart=/etc/init.d/mrtg start (code=exited, status=2)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>It then says: <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>And disable the default cron job for MRTG on Ubuntu (/etc/cron.d/mrtg).<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So which is it, does it run as a daemon or does /etc/cron.d/mrtg run the cron every 5 minutes ? <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>My /var/log/mrtg/mrtg.log is giving the following message:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid<o:p></o:p></p></div><div><p class=MsoNormal>Daemonizing MRTG ...<o:p></o:p></p></div><div><p class=MsoNormal>ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid<o:p></o:p></p></div><div><p class=MsoNormal>Daemonizing MRTG ...<o:p></o:p></p></div><div><p class=MsoNormal>ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid<o:p></o:p></p></div><div><p class=MsoNormal>Daemonizing MRTG ...<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>root@ixpm1:~# cat /etc/mrtg.pid<o:p></o:p></p></div><div><p class=MsoNormal>1666<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The MRTG process is running. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>root@ixpm1:~# ps -ef | grep mrtg<o:p></o:p></p></div><div><p class=MsoNormal>root 1666 1 0 11:00 ? 00:00:00 /usr/bin/perl -w /usr/bin/mrtg /etc/mrtg.cfg<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Diarmuid<o:p></o:p></p></div></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><div><div><div><div><div><div><p class=MsoNormal>--<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><b><i><span style='font-size:12.0pt;color:#38761D'>Irish by birth,</span></i></b><b><i><span style='font-size:12.0pt;color:#FF9900'> located in Uganda</span></i></b><b><i><span style='font-size:12.0pt'> but <span style='color:#CC0000'>Munster by the grace of God.</span></span></i></b><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 28 February 2018 at 07:32, Edrich de Lange <<a href="mailto:edd@delcon.biz" target="_blank">edd@delcon.biz</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>Is your cron running?<o:p></o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><p class=MsoNormal><img border=0 id="_x0000_i1025" src="https://mail.google.com/mail/u/0/images/cleardot.gif"><o:p></o:p></p></div><p class=MsoNormal><img border=0 width=555 height=128 style='width:5.7812in;height:1.3333in' id="_x0000_i1026" src="http://delcon.biz/delconeddsig.jpg" alt="Inline image 1"><o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Feb 28, 2018 at 6:09 AM, Diarmuid O Briain <<a href="mailto:diarmuid@obriain.com" target="_blank">diarmuid@obriain.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>Barry,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am running traffic between the ISPs and this is the graphs<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Diarmuid<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><img border=0 width=562 height=538 style='width:5.8541in;height:5.6041in' id="_x0000_i1027" src="cid:image001.jpg@01D3B237.8BC3B280" alt="Inline images 1"><o:p></o:p></p></div></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><div><div><div><div><div><div><p class=MsoNormal>--<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><b><i><span style='font-size:12.0pt;color:#38761D'>Irish by birth,</span></i></b><b><i><span style='font-size:12.0pt;color:#FF9900'> located in Uganda</span></i></b><b><i><span style='font-size:12.0pt'> but <span style='color:#CC0000'>Munster by the grace of God.</span></span></i></b><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>On 27 February 2018 at 23:08, Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal><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>_______________________________________________<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" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<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" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<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" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avg.com/internet-security">
<img border=0 src="http://static.avast.com/emails/avg-mail-stamp.png" alt="AVG logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email has been checked for viruses by AVG antivirus software.
<br><a href="http://www.avg.com/internet-security">www.avg.com</a>
</p>
</td>
</tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body></html>