Thank you Steve, I'll find a way to remove OK file periodically.
Thanks once again! Cheers... On Fri, Jun 5, 2015 at 11:02 AM, Steve Shipway <[email protected]> wrote: > Unfortunately, the problem here is down to the router reenumerating > interfaces, > > > > 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. > > > > Steve > > > > *Steve Shipway* > > [email protected] > > (GNU Terry Pratchett) > > > > *From:* Aizad Fauzi [mailto:[email protected]] > *Sent:* Friday, 5 June 2015 2:58 p.m. > *To:* Steve Shipway > *Cc:* [email protected] > *Subject:* Re: [mrtg] Won't work after reboot > > > > Hi Steve, > > > > Followed you advise and it works! But there is an additional step that I > took which is restarting snmpd. > > 1) rm -f mrtg.ok > > 2) /etc/init.d/snmpd restart > > 3) mrtg /path/to/mrtg.conf > > > > 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. > > > > > -- Regards, Aizad
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
