MRTG router wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

MRTG router wizard

Post 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.
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: MRTG router wizard

Post 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.
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.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: MRTG router wizard

Post by btemple »

Thank you I will give your suggestions a shot
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: MRTG router wizard

Post by sreinhardt »

Perfect, let us know if you have any further questions!
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.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: MRTG router wizard

Post by btemple »

Since there are quite a few lines to comment out what is the quick / best tool to use ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MRTG router wizard

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: MRTG router wizard

Post by btemple »

Thank you linux rookie question !
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MRTG router wizard

Post by abrist »

No problem. Happy Hacking! Let us know if you have further issues.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked