probleme with a graph
hy
i have write a script and i try to establish a graph.
i add in the *hobbitserver.cfg* the name of my script like this :
TEST2RRD="couchbase=ncv"
GRAPHS="couchbase"
NCV_couchbase="bytesread:GAUGE,bytes:GAUGE"
And in the *hobbitgraph.cfg***i add
[couchbase] TITLE Couchbase info YAXIS Bytes_read DEF:bytes_read=couchbase.rrd:bytes_read:AVERAGE DEF:bytes=couchbase.rrd:bytes:AVERAGE
LINE2:bytesread#FF000000:Bytes_read
LINE2:bytes#FF66FF:Bytes
COMMENT:\n
GPRINT:bytes_read:LAST:Bytes_read \: %5.1lf%s (cur)
GPRINT:bytes_read:MAX: \: %5.1lf%s (max)
GPRINT:bytes_read:MIN: \: %5.1lf%s (min)
GPRINT:bytes_read:AVERAGE: \: %5.1lf%s (avg)\n
GPRINT:bytes:LAST:bytes \: %3.2lf (cur)
GPRINT:bytes:MAX: \: %3.2lf (max)
GPRINT:bytes:MIN: \: %3.2lf (min)
GPRINT:bytes:AVERAGE: \: %3.2lf (avg)\n
When i execute the command *rrdtool dump couchbase.rrd *I get my information as you can see below
<version>0003</version> <step>300</step> <!-- Seconds --> <lastupdate>1359043008</lastupdate> <!-- 2013-01-24 15:56:48 GMT -->
<ds>
<name> bytes </name>
<type> GAUGE </type>
<minimal_heartbeat>600</minimal_heartbeat> <min>NaN</min> <max>NaN</max>
<!-- PDP Status -->
<last_ds>119541874</last_ds>
<value>0.0000000000e+00</value>
<unknown_sec> 108 </unknown_sec>
</ds>
- when i m going to watch in my console i didn't see any graph , just a link for Hourly graph, Daily graph etc... i dont understand i missed something ?
What happens when you click the graphs link?
Check your rrd logs (rrd-status.log rrd-data.log) which are in your server log path, probably /var/log/xymon_username/. Do the logs have any errors?
Michael Beatty Sherwin-Williams IT Analyst/Developer michael.beatty at sherwin.com 216-515-7374
On 01/24/2013 11:08 AM, omr wrote:
hy
i have write a script and i try to establish a graph.
i add in the *hobbitserver.cfg* the name of my script like this :
TEST2RRD="couchbase=ncv"
GRAPHS="couchbase"
NCV_couchbase="bytesread:GAUGE,bytes:GAUGE"
And in the *hobbitgraph.cfg***i add
[couchbase] TITLE Couchbase info YAXIS Bytes_read DEF:bytes_read=couchbase.rrd:bytes_read:AVERAGE DEF:bytes=couchbase.rrd:bytes:AVERAGE
LINE2:bytesread#FF000000:Bytes_read LINE2:bytes#FF66FF:Bytes COMMENT:\n GPRINT:bytes_read:LAST:Bytes_read \: %5.1lf%s (cur) GPRINT:bytes_read:MAX: \: %5.1lf%s (max) GPRINT:bytes_read:MIN: \: %5.1lf%s (min) GPRINT:bytes_read:AVERAGE: \: %5.1lf%s (avg)\n GPRINT:bytes:LAST:bytes \: %3.2lf (cur) GPRINT:bytes:MAX: \: %3.2lf (max) GPRINT:bytes:MIN: \: %3.2lf (min) GPRINT:bytes:AVERAGE: \: %3.2lf (avg)\nWhen i execute the command *rrdtool dump couchbase.rrd *I get my information as you can see below
<version>0003</version> <step>300</step> <!-- Seconds --> <lastupdate>1359043008</lastupdate> <!-- 2013-01-24 15:56:48 GMT -->
<ds> <name> bytes </name> <type> GAUGE </type><minimal_heartbeat>600</minimal_heartbeat> <min>NaN</min> <max>NaN</max>
<!-- PDP Status --> <last_ds>119541874</last_ds> <value>0.0000000000e+00</value> <unknown_sec> 108 </unknown_sec> </ds>
- when i m going to watch in my console i didn't see any graph , just a link for Hourly graph, Daily graph etc... i dont understand i missed something ?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
Michael.Beatty@sherwin.com
-
omr@bluekiwi-software.com