<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
I don't think that posting the same question to the list twice
within 24 hours makes a lot of sense, but when I check your code,
I can see that you are mixing the usage of "bytesread" and
"bytes_read", which most likely is the issue with this graph.<br>
<br>
Regards,<br>
Martin <br>
<br>
On 25.01.2013 10:05, gmail wrote:<br>
</div>
<blockquote cite="mid:51024AE6.60609@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div class="moz-text-html" lang="x-western"> <small>hy <br>
<br>
i have write a script and i try to establish a graph. <br>
<br>
i add in the <b>hobbitserver.cfg</b> the name of my script
like this :<br>
<br>
<font face="serif">TEST2RRD="couchbase=ncv"<br>
<br>
GRAPHS="couchbase"<br>
<br>
NCV_couchbase="bytesread:GAUGE,bytes:GAUGE"</font><br>
<br>
<br>
And in the <b>hobbitgraph.cfg</b><b> </b>i add </small><br>
<br>
<small><br>
<font face="serif">[couchbase]<br>
TITLE Couchbase info<br>
YAXIS Bytes_read<br>
DEF:bytes_read=couchbase.rrd:bytes_read:AVERAGE<br>
DEF:bytes=couchbase.rrd:bytes:AVERAGE<br>
<br>
LINE2:bytesread#FF000000:Bytes_read<br>
LINE2:bytes#FF66FF:Bytes<br>
COMMENT:\n<br>
GPRINT:bytes_read:LAST:Bytes_read \: %5.1lf%s (cur)<br>
GPRINT:bytes_read:MAX: \: %5.1lf%s (max)<br>
GPRINT:bytes_read:MIN: \: %5.1lf%s (min)<br>
GPRINT:bytes_read:AVERAGE: \: %5.1lf%s (avg)\n<br>
<br>
GPRINT:bytes:LAST:bytes \: %3.2lf (cur)<br>
GPRINT:bytes:MAX: \: %3.2lf (max)<br>
GPRINT:bytes:MIN: \: %3.2lf (min)<br>
GPRINT:bytes:AVERAGE: \: %3.2lf (avg)\n<br>
</font><br>
When i execute the command <b>rrdtool dump couchbase.rrd <br>
</b>I get my information as you can see below <br>
<br>
<font face="serif"> <version>0003</version><br>
<step>300</step> <!-- Seconds --><br>
<lastupdate>1359043008</lastupdate>
<!-- 2013-01-24 15:56:48 GMT --><br>
<br>
<ds><br>
<name> bytes </name><br>
<type> GAUGE </type><br>
<minimal_heartbeat>600</minimal_heartbeat><br>
<min>NaN</min><br>
<max>NaN</max><br>
<br>
<!-- PDP Status --><br>
<last_ds>119541874</last_ds><br>
<value>0.0000000000e+00</value><br>
<unknown_sec> 108 </unknown_sec><br>
</ds></font><br>
<b><br>
</b><br>
when i m going to watch in my console i didn't see any graph ,
just a link for Hourly graph, Daily graph etc...<br>
i dont understand i missed something ?<br>
<br>
</small><br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Träumst Du am Tage, erkennst Du vieles, ! Martin Ksellmann
was dem verborgen bleibt, ! Am Vogelherd 7, 83126 Flintsbach
der nur in der Nacht träumt. ! Phone: +49.8034.707254
(Edgar Allan Poe) ! e-mail: <a class="moz-txt-link-abbreviated" href="mailto:martin@ksellmann.de">martin@ksellmann.de</a></pre>
</body>
</html>