[mrtg] Re: spawning multiple processes for large config file
Matt Walkowiak
mwalkowi at intxx.com
Thu Aug 30 23:19:58 MEST 2001
Not sure about this, but have you looked at the Forks command? I never have
used it so im not sure if it is what you need.... but it sounds like it.
this is from
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html
*****
Forks (UNIX only)
An a system that can fork (UNIX for example) mrtg can fork itself into
multiple instances while it is acquiring data via snmp.
For situations with high latency or a great number of devices this will
speed things up considerably. It will not make things faster though if you
query a single switch sitting next door.
As far as I know NT can not fork so this option is not available on NT.
Example:
Forks: 4
*****
Blah...
Matt
-----Original Message-----
From: Jade E. Deane [mailto:moose at riven.net]
Sent: Wednesday, August 29, 2001 7:18 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] spawning multiple processes for large config file
I'm working with a very large automatically generated MRTG config file.
It's content includes information for every NOAA weather station in the US,
around 2231. That information might be arbitrary, but you get the point.
Each target spawns a little script I've written to gather various
information from a SQL database. When this script is called, it takes
roughly 1.2sec to run. The issue at hand is, when MRTG reads and process
the config file, it handles a one target at a time. Does anyone have a
method for spawning multiple MRTG processes for each target in a config?
Jade
--
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