[rrd-users] Re: help a newbie pls

2004-02-23 Thread Ionescu Ionut
I apologize
It seems that my problem is not the use of graph feature from rrd tool.
So i'm gonna put here all the steps i took since i started using mrtg &
rrd tool


0. use Win2k
1. download & install perl (ActivePerl-5.8.2.808-MSWin32-x86.msi)
2. download mrtg (mrtg-2.10.13.zip)
3. use cfgmaker to make a config file
4. use mrtg to graph traffic

--- until now everything works perfectly ---

5. download rrdtool (rrdtool-1.0.40.x86distr.zip-5.8.zip)
6. go to 'perl-shared' folder of rrdtool and run the following: ppm install
rrds.ppd
7. go to my config file and add:
- workdir: c:\rrdtool\rrds // 'rrds' folder created by me
- pathadd: c:\rrdtool\bin // the 'bin' folder did not exist (as the guide i
was reading said it would) so i created it and copied here the .exe's from
'src' folder
- libadd: c:\rrdtool\perl-shared
- logformat: rrdtool
8. run mrtg again with the updated config file

--- now, the fun part ---

9. at this point, the following happens:
 - the graph and html generation stops (that's normal)
 - .rdd files are created for every target i monitor in my 'rrds' folder
(about 100KB each; did not modify them in any way)
 - however, they don't seem to update... (when I run 'rrdtool info' for any
one of my rrd's, the 'last_update field' doesn't change its value, even
though i ran info several times - 5 to 10 minutes apart)
 - so, it's only logical to have errors when i try to graph something out of
nothing (?)

This is my current status i don't know what else to do, as most docs and
info are for unix users :(

...help...please...10x

- Original Message - 
From: "Alex van den Bogaerdt" <[EMAIL PROTECTED]>
To: 
Sent: Monday, February 23, 2004 4:20 PM
Subject: [rrd-users] Re: help a newbie pls


> On Mon, Feb 23, 2004 at 03:10:25PM +0100, Martin Horak wrote:
> > My simplest command:
> >
> > rrdtool graph test.png -s now-10h -e now
> > DEF:a='/var/www/data/rrd/routersce0.rrd':s1in:AVERAGE LINE1:a#ff
>
> I can beat that :)
>
> I'm not entirely sure about the short form of the colour.
> Path to png and to rrd can be changed as needed.
> Multiply the DEF and LINE statements for ds1 if desired
>
> rrdtool graph test.png DEF:i=routersce0.rrd:ds0:AVERAGE LINE1:i#f00
>
> cheers,
> Alex
> -- 
>

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: help a newbie pls

2004-02-23 Thread Ionescu Ionut
this is what i typed on cmd prompt:

rrdtool graph "c:\test.png" -s 1077529905 -e 1077530205 -t "Test"
def:xx="c:\mrtghtml\log\10.0.0.1_1.rrd":ds0:average
def:yy="c:\mrtghtml\log\10.0.0.1_1.rrd":ds1:average

 and the error message is:
ERROR: can't parse 'def:xx=c:\mtrghtml\log\10.0.0.1_1.rrd:ds0:average'

The mrtg config file worked perfectly until i implemented rrd tool, It had
the following:

Htmldir: c:\mrtghtml
Imagedir: c:\mrtghtml\img
Logdir: c:\mrtghtml\log
RunAsDaemon: Yes
Interval:5
--- and, of course the targets i wanted to monitor ---

After implementing rrd, I added :

pathadd: c:\rrdtool\bin
libadd: c:\rrdtool\perl-shared
logformat: rrdtool

When I try to dump the info of a rrd file into a .xml, no .xml file is
created...

Maybe I did not implement rrd tool corectly, or I used the wrong
distribution pack

- Original Message - 
From: "Martin Horak" <[EMAIL PROTECTED]>
To: "Ionescu Ionut" <[EMAIL PROTECTED]>
Sent: Monday, February 23, 2004 11:32 AM
Subject: Re: [rrd-users] help a newbie pls


> Try to copy & paste your configuration files and error messages you get
> into your message...
>
> Ionescu Ionut wrote:
> >
> > Anyway... I've succeeeded in making rrd files for the device I was
> > trying to monitor...
> > However when I try to graph anything, I always get errors (like: can't
> > parse).
> > All I want to do is to generate on-demand grahps regarding the traffic
> > flow for a given period of time... bits in and bits out for a specific
> > interface.. nothing more.
> >
> > Please, help me and thank you in advance
> >

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] help a newbie pls

2004-02-23 Thread Ionescu Ionut
Hello!
 
I'm new with mrtg and rrd tool, and I would greatly appreciate any help
ypu can give me.
 
First of all, I am using mrtg & rrd on Windows 2000.
 
I read all about implementing rrdtool with mrtg on win2000, but still I
am unsure about certain things... for instance what rrdtool archive file
should I download from the download area I've tried rrdtool.tar.gz
and rrdtool-1.0.40.x86distr.zip-5.8.zip. I think the latter was the one
I needed. I've succeeded in registering rrdtool package with perl.
 
After that, the guide I was reading said to move some .exe files from
src folder to my 'rrdtool\bin' folder and to include 'rrdtool\bin' in my
system path... Now, my question is what 'bin' folder?! There was no
'bin' folder in the archive
 
Anyway... I've succeeeded in making rrd files for the device I was
trying to monitor...
However when I try to graph anything, I always get errors (like: can't
parse).
All I want to do is to generate on-demand grahps regarding the traffic
flow for a given period of time... bits in and bits out for a specific
interface.. nothing more.
 
Please, help me and thank you in advance
 
Best Regards,
Ionut Ionescu
 
 
--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi