Page 1 of 1
MRTG router wizard
Posted: Thu Mar 13, 2014 11:29 am
by btemple
I ran the wizard and checked and unchecked all of the port we wanted to monitor. Everything is working and reporting as expected. I then went to Bandwidth usage reports and noticed that several ports are being monitored that I had unchecked on the wizard. I would like to add more routers using the wizard but do not want to add the additional ports. I also need to remove the unwanted ports from the Bandwidth Usage Report.
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 11:48 am
by sreinhardt
cfgmaker and the mrtg config by default will monitor all ports regarless of what you have chosen to monitor within XI. This was done, so that data was there and reconfiguration of mrtg was not needed in the event you chose to monitor another port in the future. If you wish to disable them, you can manually modify /etc/mrtg/mrtg.cfg so that ports you do not wish to monitor are commented out with #. Then you will need to remove the rrd files in /var/lib/mrtg/ so that the reports do not allow you to create reports for rrds that are not being updated, as that is the path that bandwidth reports look in, and where mrtg directly stores its data.
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 11:56 am
by btemple
Thank you I will give your suggestions a shot
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 1:14 pm
by sreinhardt
Perfect, let us know if you have any further questions!
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 1:20 pm
by btemple
Since there are quite a few lines to comment out what is the quick / best tool to use ?
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 1:37 pm
by abrist
ummmm, vim? ed? nano? . . . dare I say emacs?
It still most likely needs to be performed manually, so your favorite editor is probably the best tool.
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 1:40 pm
by btemple
Thank you linux rookie question !
Re: MRTG router wizard
Posted: Thu Mar 13, 2014 2:11 pm
by abrist
No problem. Happy Hacking! Let us know if you have further issues.