• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

MRTG on multiple routers

James Bond

Diamond Member
I'm getting some interface usage monitoring going on several of our routers. I want something that can monitor all of our WAN links reliably and update on its own.

I started using MRTG. The only issue is that we have ~100 routers to monitor, and every single mrtg process (perl, actually), takes up 10-15mb of ram. This means that I'm going to be using between 1 - 1.5gb of ram just to monitor all of these devices.

Are there any other options? I like the graphs it makes, but it is still a hassle to setup (I created a HTML page where I just IMG SRC to the graph I want for each router... ie: end result would be a simple HTML page with 100 graphs...
 
Why in the world do you have 1 MRTG process per router? A single mrtg.cfg file should give you a single MRTG process (or a few depending on the Forks setting); you can put multiple routers in a config file. As for the HTML pages, you should be able to use indexmaker to create those.

By the way, with that many routers you might want to look into something a little more sophisticated like Cacti.
 
Last edited:
Why in the world do you have 1 MRTG process per router? A single mrtg.cfg file should give you a single MRTG process (or a few depending on the Forks setting); you can put multiple routers in a config file. As for the HTML pages, you should be able to use indexmaker to create those.

By the way, with that many routers you might want to look into something a little more sophisticated like Cacti.

I'm new to this...

How do I put more than one router in a single config file?
 
I'm new to this...

How do I put more than one router in a single config file?

You can have a bunch of sections in your config that start like:

Target[blah1]: /192.168.1.1😛ublic@router1.example.com
...

Target[blah2]: /192.168.1.2😛ublic@router2.example.com
...

And so on. You can also run the cfgmaker utility against a bunch of routers and generate this file automatically.
 
You can have a bunch of sections in your config that start like:

Target[blah1]: /192.168.1.1😛ublic@router1.example.com
...

Target[blah2]: /192.168.1.2😛ublic@router2.example.com
...

And so on. You can also run the cfgmaker utility against a bunch of routers and generate this file automatically.

Thanks Pheran. Saved me a lot of time and headache 🙂
 
Back
Top