Re: Won't work after reboot

Steve Shipway <[email protected]> Fri, 5 Jun 2015 03:02:37 +0000
Newsgroups gmane.network.mrtg.user
Message-ID <5820DC553954E44FA1A36C78323AD14859FFC33F@uxcn10-tdc06.UoA.auckland.ac.nz>
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.

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
smime.p7s (application/pkcs7-signature, 10.1 KB) - not displayed