[mrtg] Re: Deploying MRTG

Nick Ellson grimm at nickellson.com
Thu Dec 2 15:05:42 MET 2004


I have used MRTg on both Windows and Linux. FOr teh same machine base, 
Linux does out perform Windows as far as resources used and how quickly it 
gets through the devices. I am watching port traffic on several Cisco 6500 
series switches, and over 100 smaller routers/switches/firewalls. 

The difference is, I use a single mrtg.cfg file for all devices and run 
MRTG once in Deamon mode. I have a script that basically runs cfgmaker on 
all my devices building individual files, then I parse them all into one 
file, adding a few static templates for CPU load and Temp. Than makes one 
config file that is read once at start up. I settles on Linux for the 
server now though and I run 8 forked threads at a time.

Nick
 

-- 
Nick Ellson
CCDA, CCNP, CCSP, CCAI, 
MCSE 2000, Security+, Network+
Network Hobbyist.

On Wed, 1 Dec 2004, Tendolkar Mohit wrote:

> Hi,
>  
> 
> We are trying to deploy a monitoring solution using MRTG running on a
> computer running Windows as follows: 
> 
> *	we have an MRTG config file for every device that we are
> monitoring that contains the MRTG targets for the objects we are
> monitoring on that specific device.
> *	We run each such config file with a separate instance of
> perl/MRTG in daemon mode
> 
>  
> 
> We used this since it was the recommended approach to running/deploying
> MRTG.
> 
>  
> 
> Since we monitor about 40+ devices, that implies that we get typically
> about 40+ instances of the perl process (one can see it on the "Process"
> tab of Windows task manager). Similarly when these instances of
> perl/mrtg start the graphing process, they start another "cmd.exe" and
> "rateup.exe" process each, resulting in those many more instances of
> cmd.exe and rateup.exe.
> 
>  
> 
> This causes the system to run out on virtual memory and many times even
> needs a reboot, since the instances of perl take up quite a bit of
> virtual memory each.
> 
>  
> 
> We have also experimented with not running MRTG in daemon mode and
> periodically running MRTG for each of the config files. What we observed
> was that each time MRTG is run in this manner, since it parses the
> config file each time, it takes up a bunch of CPU and the process is
> quite resource intensive.
> 
>  
> 
> I see a lot of users/developers out there using MRTG, So, could other
> MRTG developers out there let me know how they have deployed monitoring
> solutions based on MRTG for a large number of systems from a Windows
> system?
> 
>  
> 
> Thanks & regards
> 
> Mohit
> 
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list