Xymon Mailing List Archive search

Probleme for put a graphe

list Martin Ksellmann
Fri, 25 Jan 2013 15:04:49 +0100
Message-Id: <user-e69465a4d1a1@xymon.invalid>

Hi,

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.

Regards,
Martin

On 25.01.2013 10:05, gmail 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)\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 ?

-- 
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: +XX.XXXX.XXXXXX
                       (Edgar Allan Poe) ! e-mail: user-ee718bf7dbea@xymon.invalid