[hobbit] NCV rrd help

Dan Vande More bigdan at gmail.com
Wed Dec 6 23:36:38 CET 2006


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

On 12/6/06, Alun Watson <Alun.Watson at fp.co.nz> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061206/736ce9b0/attachment.html>


More information about the Xymon mailing list