Xymon Mailing List Archive search

NCV rrd help

list Dan Vande More
Wed, 6 Dec 2006 16:36:38 -0600
Message-Id: <user-2d595ae220d0@xymon.invalid>

Does your rrd have any data in it? (rrdtool dump foo.rrd)

On 12/6/06, Alun Watson <user-c0c80eb1ea73@xymon.invalid> wrote:
 Hello,
        I was hoping that you guy's might be able to suggest why my NCV is
not displaying. I get links on the both the trends webpage and the new
report page.
I've set up script that reports
squid

serverhttpbitsin : 38871.2
serverhttpbitsout : 8186.26

and squidclients


numberofclients:28


I've entered into "hobbitserver.cfg"

TEST2RRD="cpu=la<snip>,squid=ncv,squidclients=ncv"
GRAPHS="la,<snip>,ncv,squid,squidclients"
NCV_squid="serverhttpbitsin:GAUGE,serverhttpbitsout:GAUGE,*:NONE"
NCV_squidclients="numberofclients:GAUGE,*:NONE"

"hobbitgraph.cfg"
[squid]
        TITLE Squid IN-OUT
        YAXIS # bits
        DEF:serverhttpbitsin=squid.rrd:IN:AVERAGE
        DEF:serverhttpbitsout=squid.rrd:OUT:AVERAGE
        LINE2:IN#555555:IN_Traffic
        LINE2:OUT#880000:OUT_Traffic
        COMMENT:\n
        GPRINT:IN:LAST:IN_Traffic \: %5.1lf%s (cur)
        GPRINT:IN:MAX: \: %5.1lf%s (max)
        GPRINT:IN:MIN: \: %5.1lf%s (min)
        GPRINT:IN:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:OUT:LAST:OUT_Traffic \: %5.1lf%s (cur)
        GPRINT:OUT:MAX: \: %5.1lf%s (max)
        GPRINT:OUT:MIN: \: %5.1lf%s (min)
        GPRINT:OUT:AVERAGE: \: %5.1lf%s (avg)\n
[squidclients]
        TITLE Squid Clients
        YAXIS # count
        DEF:numberofclients=squidclients.rrd:clients:AVERAGE
        LINE2:clients#880000:Number_of_clients
        COMMENT:\n
        GPRINT:clients:LAST:Number_of_clients \: %5.1lf%s (cur)
        GPRINT:clients:MAX: \: %5.1lf%s (max)
        GPRINT:clients:MIN: \: %5.1lf%s (min)
        GPRINT:clients:AVERAGE: \: %5.1lf%s (avg)\n