[mrtg] Making MRTG more Efficient/Faster

John Barbieri jbarbieri at metrocastcablevision.com
Fri May 20 15:31:56 MEST 2005

Hash: SHA1

I was wondering if there was a way of making MRTG more efficient
and/or faster. The box we are running on is constantly getting socked
because of MRTG. Here are some details:

Box is a dual Pentium 2 450 with 448MB of RAM.

Running Freebsd 4.10 with SMP compiled into kernel.

I have 26 cron jobs spread out for various MRTG processes:

5 on 0,5,10,15 etc
5 on 1,6,11,16 etc
5 on 2,7
5 on 3,8
6 on 4,9

We are monitoring:

21 Routers and Machines
Around 230 Total Interfaces on Various Routers for speed
Around 218 Total Interfaces on Various CMTS's for Signal to Noise
Ratio (SNR)
Monitoring about 10 different machines for Interfaces, CPU usage, and
Open TCP connections.
Monitoring 3 Netscreen ISG 2000's (2 interfaces on each, as well as
the number of attacks)

Right now, at 30 seconds into a minute (eg, 9:23:30) the load is 1.52,
1.32, 1.25

I have yet to see the load on the box go under 1.

There are some processes that take almost 40 seconds to complete. This
is because it is trying to fight for cpu, while drawing graphs for
around 80 interfaces (on some configs).

I was wondering if there was a way to bring the load down on the box,
or make it draw the graphs faster. I would like to add more devices to
the machine, but I dont want to totally bring the box down to its
knees. As of right now, getting a faster box is out of the question,
so I need to work with what I have.

Thanks in advance.

- --
John Barbieri
Version: GnuPG v1.4.1 (MingW32)

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