[rrd-users] Re: converting log2rrd
Nikolaos Abatzis
nabatzis at blackboard.com
Thu Feb 15 18:13:29 MET 2001
Am I missing something. Why don't you modify log2rrd. Do you know perl?
You just have to add another DS definition in the rrd create call and then
add ":0" to the line that populates the rrd file.
i.e. add line "DS:ds2:GAUGE:86400:U:U", after line 196 and
modify line 217 to say RRDs::update("$RRD",
"$curTime:$avgIn:$avgOut:0") ;
hope this helps , cheers
Nikolaos Abatzis
Consultant
Blackboard Inc
1899 L Street, NW
Washington, DC 20036
phone: (202) 463-4860 x.542
Blackboard - Bringing Education Online
Create your FREE CourseSite at ww.Blackboard.com today
-----Original Message-----
From: Luis Marta [mailto:lmarta at fccn.pt]
Sent: Thursday, February 15, 2001 11:53 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] converting log2rrd
Hi.
I am trying to convert the logs i had at MRTG to .rrd files. I know the tool
"log2rrd".
The problem is the MRTG .log files were maping 2 variables and now i want
the
.rdd files to have 3 variables. The two from MRTG and another (zeroed, of
course).
Is there a way to do it?
Thanx.
Luis Marta.
--
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