[mrtg] Won't work after reboot

Aizad Fauzi redsan at gmail.com
Fri Jun 5 05:08:09 CEST 2015


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 <s.shipway at auckland.ac.nz>
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*
>
> s.shipway at auckland.ac.nz
>
> (GNU Terry Pratchett)
>
>
>
> *From:* Aizad Fauzi [mailto:redsan at gmail.com]
> *Sent:* Friday, 5 June 2015 2:58 p.m.
> *To:* Steve Shipway
> *Cc:* mrtg at lists.oetiker.ch
> *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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150605/969cfb15/attachment-0001.html>


More information about the mrtg mailing list