[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with one graph, multiple files
- To: hobbit (at) hswn.dk
- Subject: Help with one graph, multiple files
- From: Darrin Khan <medavian (at) gmail.com>
- Date: Tue, 10 Feb 2009 13:56:55 +1100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=eHfTp8u0kRzq59eIRVF78mMwW+5eY4vt+11/cbSfV/I=; b=GmVBWAOB7Y54oYBb9GUYsOgdFRif+0SIL+Y0CJqMjaMClFtJ3vP3QwdTktZUh8yA65 h0QWFNxXTA9pccis/kFim3mnhZvJQcZVFdvjaEbYvJho4JfgaXIx6xFlb+Ohhac1WwZZ Q+89c7Qc9ImqOJ+f1RCfHOjOWX8AH1hOcnUPU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dRIZs9Bkp7oNNLadFUJiVFWMkJB6nlRTNBQCbtSAvjHVN5rj51dPnMzIA5GIYzZAbs Z0I51I679hpxdAfgFXIJxKAoDjXDgwQsUFDEcM6zaUJfLxCaWtPFHWi/16sg/KSYDD2K Ow1kk7sti+7Qq+nUFcJ6k3iFd7IEqKvcJEtp4=
Hello All,
I am just trying to figure out what I have missed in my setup. I have 2
files (at present) DBxtest.rrd and DBytest.rrd. These both contain entries
for conn at the same index (0).
What I am trying to do is get them to show up in one graph with xtest and
ytest showing as 2 different lines.
I have copied the disk definition in hobbitgraph.cfg and created the
following definition.
[postgres]
FNPATTERN DB(.*).rrd
TITLE DB Connections
YAXIS # connections
DEF:p (at) RRDIDX@= (at) RRDFN@:conn:AVERAGE
LINE2:p (at) RRDIDX@# (at) COLOR@:@RRDPARAM@
GPRINT:p (at) RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:p (at) RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:p (at) RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:p (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
This gives me a graph with one line from the first file it picks up (xtest),
the other (ytest) I can't seem to get to show. To see if it is a file or
data related prob, I removed the xtest rrd file, and then I am able to see
the ytest that previously did not show.
Is it possible to get both conn entries from the 2 different files to show
on the one graph ?
I am currently running version 4.2.0 with all the patches ..
Darrin
--
Darrin Khan
medavian (at) gmail.com
Bob Hope - "I have a wonderful make-up crew. They're the same people
restoring the Statue of Liberty."