[mrtg] Re: A Little Off Topic : MRTG as a Service on Win2K

Morrow, Dave Dave.Morrow at compass-canada.com
Thu Mar 20 15:38:32 MET 2003


Thanks Peter.  This was the solution that seems to work best for me.  It
allows me to have a single service running (with a single PERL instance) and
displays well in ROUTERS.CGI

Many thanks for the help!

--------------------------
David Morrow
Senior Network Administrator
Compass Group Canada
Phone: (519)679-2623 x 330
email: dave.morrow at compass-canada.com
--------------------------


-----Original Message-----
From: Peter Glanville [mailto:peter_glanville at cuk.canon.co.uk]
Sent: Thursday, March 20, 2003 4:04 AM
To: Morrow, Dave; mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Re: A Little Off Topic : MRTG as a Service on Win2K




Dave
If I understand you correctly, it's not a question of 'run as Service', or
even 'include'-ing, but presentation?

Use one big CFG with lots of include statements to run MRTG and gather the
data.
In the master CFG, use "routers.cgi*Ignore: yes" to prevent it appearing in
the display
Then in routers2.conf, use "cfgfiles = *.cfg" to include everything into
the display
Each CFG appears as a Device, with Targets underneath each one.
Throw in directory structure, and you can group your devices as
desired.(add *\*\*.cfg in Routers2.conf for sub directories)
Naming can be done by CFG (or folder) name, or using
"routers.cgi*ShortDesc:" in the CFG, or with an entry in the routers2.conf.
You can even create dummy CFG files, not 'included', that summarise targets
from different devices (more CFG maintenance required here!)

Regards
Peter

--------------
Unfortunately, using an include statement amounts to the same problem with
the way in which routers2.cgi displays.

The main config file is listed as the "device" in the routers2 display and
the interfaces per se all appear as targets.  The way my config files are
setup, I wind up with targets with the same name......I am simply trying to
avoid alot of typing......to name each target......

--------------------------
David Morrow
Senior Network Administrator
Compass Group Canada
Phone: (519)679-2623 x 330
email: dave.morrow at compass-canada.com
--------------------------


-----Original Message-----
From: Burton, Chris [mailto:Chris.Burton at dig.com]
Sent: Wednesday, March 19, 2003 2:23 PM
To: Morrow, Dave; MRTG (E-mail)
Subject: RE: [mrtg] A Little Off Topic : MRTG as a Service on Win2K


You can use the "include: <path to config file>" statment in the main
MRTG configuration file.

Chris B.
Network Engineer
WDIG: Network Operations


-----Original Message-----
From: Morrow, Dave [mailto:Dave.Morrow at compass-canada.com]
Sent: Wednesday, March 19, 2003 11:20 AM
To: MRTG (E-mail)
Subject: [mrtg] A Little Off Topic : MRTG as a Service on Win2K

This question might be a little off topic......

I am running MRTG with RRD on a Win2K box.  MRTG works just fine and I
use
Routers2.cgi for display.

I use the Resource Kit tools INSTSRV & SRVANY to create a service for
each
.cfg I need MRTG to look at.  The problem lies in the fact that each
instance of PERL and SRVANY require almost 10MB of RAM.......this
dramatically limits the number of devices I can monitor.  I guess my
question is, is there a way to make MRTG read multiple .cfg files on a
single command line?





--
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