[rrd-users] Re: RRD on Win2k, multiple config files

Alvaro Cornejo alvaro.cornejo at glenayre.com
Thu Oct 16 23:06:38 MEST 2003


Hi Mike

If you can manage such big cfg file it is no problem for MRTG having a big cfg
file. However I agree that for such number of servers it is best to group
servers in some way (HTTP, SMTP, FTP, APPS, Domain, etc.) that will make it easy
to maintain and troubleshoot.

What you can do is, once you have your multiple cfg, use the indexmaker script
to generate an index page for each group of servers and then you can create
another page as index of index pages.

About running several mrtg cfg files, I use the 5mrtg.exe util found under the
contrib dir of mrtg.

It is a simple service that executes, at 5 minutes interval, the file
mrtgkick.cmd. You can edit this file in order to add all the entries you need
for your CFG files. Just verify the paths on the 5mrtg.reg files. This is the
mrtgkick.cmd file I use:

REM MRTG Config Files
REM =================
REM

C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg
c:\mrtg-2.10.5\bin\cfg\mrtg_mexico_w2k.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg c:\mrtg-2.10.5\bin\cfg\mrtg_smtp.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg c:\mrtg-2.10.5\bin\cfg\mrtg_http.cfg

REM RRDTool Config Files
REM ====================
REM
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg
c:\mrtg-2.10.5\bin\cfg\mrtg_mexico_W2K_RRD.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg
c:\mrtg-2.10.5\bin\cfg\ispgateway_rrd.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg
c:\mrtg-2.10.5\bin\cfg\homeserver_rrd.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg c:\mrtg-2.10.5\bin\cfg\DrMateo_rrd.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg
c:\mrtg-2.10.5\bin\cfg\switch_3300_rrd.cfg
C:\Perl\Bin\perl C:\mrtg-2.10.5\bin\mrtg
c:\mrtg-2.10.5\bin\cfg\cisco4500_rrd.cfg


If you insist on using the fire daemon, see the botom of
http://www.firedaemon.com/HOWTO/MRTG/ it has some words about running several
mrtg cfg files... not really clear.

Regards

Alvaro




-----Original Message-----
From: Mike Bollman [mailto:MBollman at eprod.com]
Sent: Jueves, 16 de Octubre de 2003 15:02
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] RRD on Win2k, multiple config files


I have MRTG running with RRD on a Windows 2000 server.  I am using the
Fire Daemon service manager to call my config file (mrtg rrdconfig.cfg).
I am using this to pull snmp data (i..e cpu use, memory, etc) from
multiple servers.  The question I have is how can I go about grouping
all the parameters for one server together.  Right now my MRTG homepage
is  mess as I have one giant config file.  I spoke to a friend about
this and he said to break each server into its own config file and then
call them individually.  Would this work?  Is there a  better way?  If
that is the case and I have say 100 servers to monitor then I would have
100 config files.
Anyone have any thoughts?

Thanks in advance.

Mike Bollman
Network Engineer
Enterprise Products
mbollman at eprod.com


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list