[mrtg] Re: Best Practice 1 mrtg process or multiple

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Jan 10 00:38:50 MET 2002

Bill Carter wrote:

> I am monitoring a Cisco Cat 5500 switch and 2 Cisco 7200 routers with 40+
> subinterfaces each.

You mean 40*3 or did you forget to specify the amount of interfaces
in the C5500?

> Is it better for me to run 1 mrtg process for each of these devices or
> should I combine the cfg files to make it 1 big process?

There's no clear answer to this.  You can have as many as one process
per interface if you desire so.  This will consume quite a bit of
memory.  The other extreme is one process for all of your targets.
This will result in all targets being queried for sequentially.  For
large amounts of targets -or problems- this may result in a run that
lasts longer than 5 minutes.  This is something you want to avoid.

Best is to find out for yourself.  Use the include mechanism so you
can move targets from one config file to another without much trouble.
(Be careful not to include one such file in more than one cfg file!)

Read that FM and have a look at the forks option (provided that you
use unix/linux).

Look at the time needed to process all targets from one cfg file
(look at the time stamps of the images) and keep an eye on processor

I'm sure there are more tips and tricks, so folks...

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list