Rather than dumping all of your configs into one file, consider making one Master.cfg file and then using includes putting all of your separate configs in:
#global options like workdir, runasdaemon ect... WorkDir: /path/to/work/dir Include: /path/to/cfg1.cfg Include: /path/to/cfg2.cfg . . . Include: /path/to/cfg110.cfg This way MRTG loads once and then sequentially parses through all of your existing config files. You will want to make sure you move global stuff like WorkDir to the master.cfg and out of the individual ones as you might run into precedence issues otherwise. If you still have issues, you can make several other master configs that hold a fifth of your configs as Include: statements and then stager a different one to run every minute. -----Original Message----- From: McGlinchy, Alistair [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 3:48 PM To: Richard F. Hart II Cc: [EMAIL PROTECTED] Subject: [mrtg] Re: mrtg slow Richard, > To answer your questions. I am running a P3 1.2Ghz box with > 512MB of RAM. I am trying to poll about 110 targets every 5 > min. I have a config file for each target and a line in the > crontab for each target (110 lines). Ah, that makes sense now. Your crontab is running 110 copies of mrtg at the same time. You want to put all your targets in one CFG file, that way your computer only needs to run one version of MRTG every five minutes. You should be able to get 200-500 targets in one CFG file before considering running mrtg in parallel. Eg: WorkDir: ..\Active\ Refresh: 300 Target[One]: etc.... Options[One]: ... ... Target[Two]: etc.... Options[Two]: ... ... Target[Three]: etc.... Options[Three]: ... ... HTH Alistair ********************************************************************** Registered Office: Marks and Spencer plc Waterside House 35 North Wharf Road London W2 1NW Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 <<www.marksandspencer.com>> Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
