[Xymon] Custom RRD Graph Issue
Sam L
s0a4m at hotmail.com
Mon May 30 16:32:25 CEST 2011
Uhm, nevermind. Not sure how I missed that. Just an obvious (now) typo. Sorry.
From: s0a4m at hotmail.com
To: xymon at xymon.com
Subject: Custom RRD Graph Issue
Date: Mon, 30 May 2011 10:28:12 -0400
Warning: I'm very new to RRD (and xymon).
I followed the custom graphs how-to and tried to setup a custom graph with 3 items on it. The output of my ext script looks like:
cpu: 35sda: 47sdb: 39
Everything seems to be working fine and RRD appears to be picking up the data, but my graph doesn't look right. At the bottom of the graph it is reporting correctly on all 3 values, but they just aren't graphing correctly. The first one, cpu is fine. sda appears to be graphing, but in the color for sdd. sdb doesn't graph at all.
I'm not sure how to alter the example configuration for 3 lines instead of two, but I obviously didn't get it right. In graphs.cfg I have the following:
[deg]
TITLE Temperature
YAXIS Celsius
DEF:cpu=deg.rrd:cpu:AVERAGE
DEF:sda=deg.rrd:sda:AVERAGE
DEF:sdb=deg.rrd:sdb:AVERAGE
LINE2:cpu#00FF00:cpu
LINE2:sda#FF0000:sda
LINE2:sda#0000FF:sdb
COMMENT:\n
GPRINT:cpu:LAST:cpu \: %5.1lf%s (cur)
GPRINT:cpu:MAX: \: %5.1lf%s (max)
GPRINT:cpu:MIN: \: %5.1lf%s (min)
GPRINT:cpu:AVERAGE: \: %5.1lf%s (avg)\n
GPRINT:sda:LAST:sda \: %5.1lf%s (cur)
GPRINT:sda:MAX: \: %5.1lf%s (max)
GPRINT:sda:MIN: \: %5.1lf%s (min)
GPRINT:sda:AVERAGE: \: %5.1lf%s (avg)\n
GPRINT:sdb:LAST:sdb \: %5.1lf%s (cur)
GPRINT:sdb:MAX: \: %5.1lf%s (max)
GPRINT:sdb:MIN: \: %5.1lf%s (min)
GPRINT:sdb:AVERAGE: \: %5.1lf%s (avg)\n
Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110530/cd90a769/attachment.html>
More information about the Xymon
mailing list