[mrtg] Re: mrtg slow

McGlinchy, Alistair Alistair.McGlinchy at marks-and-spencer.com
Tue Sep 27 22:47:44 MEST 2005


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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list