[mrtg] Re: mrtg/rrdtool integration on winnt
Dan Wozniak
dwozniak at exs.esb.com
Mon Mar 28 21:27:15 MEST 2005
Thanks for the response William. You see when I downloaded the win32
rrdtool binaries
(http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.49-w
in32-bin.zip) and unzip it to a folder I'm left with 3 files(rrd.lib,
rrd_cgi.exe, rrdtool.exe). There is not a "Perl-Shared" folder or any
other folders. Should I create those folders? Then it wants me to run
the command "ppm install rrds.ppd" in the "perl-shared" directory.
Perl does not find rrds.ppd file.
-----Original Message-----
From: William Owen [mailto:william.owen at profilesmail.com]
Sent: Monday, March 28, 2005 2:10 PM
To: Dan Wozniak
Subject: RE: [mrtg] mrtg/rrdtool integration on winnt
I can't give you the play by play of the setup but here is a copy of the
relevant paths and the top portion of my master.cfg (that has include
statements calling all the other configs).
Things to note:
When using RRDTool, if you actually install RRDTool to your Perl
instance by
going into your Perl-Shared directory and running:
D:\MRTG\RRDTool\Perl-Shared>Perl makefile.pl
D:\MRTG\RRDTool\Perl-Shared>Nmake
D:\MRTG\RRDTool\Perl-Shared>Nmake install
Then you do not need the LibAdd for the Perl-Shared stuff for RRDTool to
work.
Also, make sure the user that you collector works from has read/write
permissions to the WorkDir directory. If you are breaking down by
ImageDir,
HTMLDir and LogDir (I believe these are the three), you will only get
data
in the LogDir location as RRDTool does not create Images or HTML
documents
at collection time. You will need to get a front end that supports IIS
6 to
display your graphs for you. I have used both 14all.cgi and
routers2.pl. I
currently use routers2 as it allows for creation of custom graphs from
existing data.
If you have any other questions, let me know.
MRTG Root Directory: D:\MRTG\MRTG
MRTG Bin Directory: D:\MRTG\MRTG\bin
RRDTool Root Directory: D:\MRTG\RRDTool
RRDTool Perl-Shared: D:\MRTG\RRDTool\Perl-Shared
RRDTool Bin Directory: D:\MRTG\RRDTool\src\Tool_Release
Configs Dir: D:\MRTG\Configs\<DeviceCatagory>
WorkDir: D:\MRTG\Data\<DeviceName>
Master.cfg
##### change dirs as needed versions etc etc ####
PathAdd: D:\MRTG\MRTG\bin
LibAdd: D:\MRTG\MRTG\lib\mrtg2
PathAdd: D:\MRTG\RRDTool\src\tool_release
# LibAdd: D:\MRTG\RRDTool\Perl-Shared
###### the rest of your cfg file here #####
LogFormat: rrdtool
WorkDir: D:\MRTG\Data\
Refresh: 300
Interval: 5
Include: D:\MRTG\Configs\Servers\Server1.cfg
Include: D:\MRTG\Configs\Routers\Router1.cfg
-----Original Message-----
From: Dan Wozniak [mailto:dwozniak at exs.esb.com]
Sent: Monday, March 28, 2005 12:41 PM
To: mrtg at list.ee.ethz.ch
Cc: Dan Wozniak
Subject: [mrtg] mrtg/rrdtool integration on winnt
I'm running MRTG on a Windows 2003 server to monitor various
snmp-enabled devices. I'm trying to integrate RRDTool into the current
MRTG setup but I can't find any documentation specifically for windows.
I found this link
(http://www.enterastream.com/whitepapers/mrtg/mrtg-manual.html) on
www.mrtg.org but the configuration steps reference to folders such as
"rrdtool/perl-shared" and "rrdtool/bin" which are obviously for unix and
don't exist in the win32 rrdtool package. Where can I find
documentation to integrate rrdtool with mrtg solely for a win32 system?
Thanks.
--Dan
--
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