Hi,
Last week we have noticed a quite annoying problem.
If we add a new switch or router to monitor the bandwidth and define only one port to monitor the cfg file still adds all the ports.
This results in an extremely bloated config file.
Is this a know issue, or do you guys have any idea how this can be prevented?
Thanks in advance
Switch / Router wizard bloats MRTG.cfg
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Switch / Router wizard bloats MRTG.cfg
Yes we do know about the issue. This is largely due to the use of cfgmaker for mrtg and how it does just dump everything in there. I believe there is a present feature request to have this altered, and should at least make it in with our other mrtg changes for 2014.
You can certainly strip out the unneeded ports from mrtg.cfg if you wish, however you will need to manually remove them all if you plan to add more in the future.
You can certainly strip out the unneeded ports from mrtg.cfg if you wish, however you will need to manually remove them all if you plan to add more in the future.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
DigNetwerk
- Posts: 40
- Joined: Fri Oct 25, 2013 7:29 am
Re: Switch / Router wizard bloats MRTG.cfg
Hi, I've just checked the tracker site and I can't seem to find the feature request.
Do I create a new one, or am I looking at the wrong place.
Do I create a new one, or am I looking at the wrong place.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Switch / Router wizard bloats MRTG.cfg
If it is not there, absolutely feel free to make a new one. If you would post a link back here, and here to the tracker submission. I should verify, you were looking at tracker.nagios.com, not .org? .org is for core only.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
DigNetwerk
- Posts: 40
- Joined: Fri Oct 25, 2013 7:29 am
Re: Switch / Router wizard bloats MRTG.cfg
I created a new feature request.
You can find it here http://tracker.nagios.com/view.php?id=459
You can find it here http://tracker.nagios.com/view.php?id=459
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Switch / Router wizard bloats MRTG.cfg
Fantastic, thanks! I'll lock this up for now, as there isn't too much we can do at the moment. I will note, that I will add this to our internal feature tracker too!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.