<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thank you Steve,</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I'll find a way to remove OK file periodically.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks once again! Cheers...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 5, 2015 at 11:02 AM, Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Unfortunately, the problem here is down to the router reenumerating interfaces,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You could just set a periodic job to delete the mrtg.ok file –if you don’t have many devices or interfaces it will not take long to recreate, though you’d not want to do this too often, particularly if it is large.<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Steve<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Steve Shipway<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="mailto:s.shipway@auckland.ac.nz" target="_blank"><span style="color:blue">s.shipway@auckland.ac.nz</span></a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:1.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(GNU Terry Pratchett)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p></span><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Aizad Fauzi [mailto:<a href="mailto:redsan@gmail.com" target="_blank">redsan@gmail.com</a>] <br><b>Sent:</b> Friday, 5 June 2015 2:58 p.m.<span class=""><br><b>To:</b> Steve Shipway<br><b>Cc:</b> <a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br></span><b>Subject:</b> Re: [mrtg] Won't work after reboot<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Hi Steve,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Followed you advise and it works! But there is an additional step that I took which is restarting snmpd.<u></u><u></u></span></p></div><span class=""><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">1) rm -f mrtg.ok<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">2) /etc/init.d/snmpd restart<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">3) mrtg /path/to/mrtg.conf<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">without any error. are there any workaround on this if the router reboot by itself? I am sorry as I am kinda newbie with unix.<u></u><u></u></span></p></div></span></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards,<div>Aizad</div></div>
</div>