[mrtg] Re: A Question

Jack Barnett jbarnett at axil.netmate.com
Fri Mar 10 18:52:23 MET 2000


crontab -l

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/bud/public_html/1/go
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /home/bud/public_html/2/go
2,7,12,17,22,27,32,37,42,47,52,57 * * * * /home/bud/public_html/3/go
3,8,13,18,23,28,33,38,43,48,53,58 * * * * /home/bud/public_html/4/go

We only monitor 4 interfaces (but it is a really slow machine), and if we do
them all at the same exact time it would really put a hurting on the
machine.  This way, we give each interface 60 seconds to get done what it
has to do before running the next one.  Sometimes they over lap if the
system is really busy, but it doesn't affect it to much.

`go` is just a #!/bin/sh script that executes the mrtg with the right config
file, here you could have go execute 25-50 differant sessions for mrtg for
your differant interfaces, then a minute later execute another 25-50
Differant interfaces.

Or you could try running mrtg under the `nice` command, it won't use all
it's horse power to process mrtg requests, but would have enegry to do other
things like email/web/etc..

Jack

----- Original Message -----
From: Payman N <payman99 at usa.net>
To: <mrtg at list.ee.ethz.ch>
Sent: Friday, March 10, 2000 9:14 AM
Subject: [mrtg] A Question


> Hi,
>
> I am using MRTG on a (Linux Dell with 256M) server to monitor more than
550
> interfaces. I know that 50 is the highest number it is recommended. But,
how
> can I improve the performance of the server (adding more memory,
processor,
> disk ...). It seems running many perl programs at the same time make my
> machine very slow.
>
> Thanks,
> Payman
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.amexmail.com/?A=1
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/mrtg
>
>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list