[mrtg] mrtg-rrd and big setup
valton at ipko.net
Tue May 17 00:15:45 MEST 2005
If you could give me any idea on this I would appreciate it.
First I would like to explain the setup of mrtg-rrd in our network. First it
came the idea for each host (router) to create a graph that displays its
traffic statistics. Than I wrote a php script which automatically creates
cfg files based on a selected interface for each host based on host id
(directory[host_id]: host_id). So there was a cfg file for each host. For
creating graphs I used simple bash script
for n in `ls /var/www/html/mrtg/*.cfg`
which cron executed every 5 minutes,
but mrtg started to step itself on tail when number of hosts increased.
I tried forking mrtg process putting all cfgs in one cfg but that didn't
solve the problem.
The idea to execute each cfg at a time was not to create additional snmp
What bothered me was that cpu load was always 90-98%. Now the number of
hosts is around 1000 and the number of mrtg processes is increasing, which
makes server where mrtg is installed, very hard to log in, also I have to
wait minutes until the page with graphs is displayed (used 14all.cgi). I did
some tweaking and tunning reorganizing and grouping of mrtg procesess but
that is a temporary solution.
I am getting all the time HIGH CPU LOAD.
Machine is P4 with CPU 2.04 Ghz cache 1024KB and 512MB RAM module.
Is there another way for graphing traffic using SNMP?
Thank you in advance,
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg