Page 6 of 6
Re: missing bandwidth perf data for network devices
Posted: Tue Jun 21, 2016 10:18 pm
by bosecorp
looks like mrtg is taking more than 5 minutes. I have increased fork to 16 but that doesn't help
Re: missing bandwidth perf data for network devices
Posted: Wed Jun 22, 2016 9:35 am
by ssax
Can you try increasing it higher?
The only other thing I can think of would be for you to follow this KB article and comment out the ports in the MRTG configs that you don't want polled:
https://support.nagios.com/kb/article.php?id=510
OR you could look at offloading MRTG:
https://www.youtube.com/watch?v=bnws1fYSdKM
Re: missing bandwidth perf data for network devices
Posted: Thu Jun 23, 2016 3:04 pm
by bosecorp
I asked before if MRTG could be offloaded and I was told that couldn't be done
I increased the forks to 160. i know I crazy number. still not perfect
the port approach is not sustainable model. I dont think that will work for me
Re: missing bandwidth perf data for network devices
Posted: Thu Jun 23, 2016 3:36 pm
by ssax
In the latest version of the Network Switch / Router wizard (2.3.2, you can verify by going to Admin > Manage Config Wizards) it will create a /etc/mrtg/conf.d/DEVICE_PORT.cfg for each port that you select (it will not add all or query all by default).
You would need to remove your current single config (/etc/mrtg/conf.d/DEVICE.cfg) for the devices and re-run the the wizard and that should speed things up if you don't monitor every port on each device.
Re: missing bandwidth perf data for network devices
Posted: Fri Jun 24, 2016 11:17 am
by bosecorp
the link you sent me lead me to troubleshot this further and found that a .cfg file was creating the whole problem. removed that .cfg file and things are running perfectly since yesterday.
can't believe a file could create such a big problem. my MRTGs are finishing within 1 minute.
thanks a lot for the help. close the ticket
Re: missing bandwidth perf data for network devices
Posted: Fri Jun 24, 2016 11:22 am
by mcapra
Closing this up