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:[email protected]> [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.

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to