[mrtg] Won't work after reboot
Steve Shipway
s.shipway at auckland.ac.nz
Fri Jun 5 05:02:37 CEST 2015
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
<mailto:s.shipway at auckland.ac.nz> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150605/98499bd0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 10311 bytes
Desc: not available
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150605/98499bd0/attachment.bin>
More information about the mrtg
mailing list