Xymon Mailing List Archive search

NCV rrd help

5 messages in this thread

list Alun Watson · Thu, 7 Dec 2006 11:24:12 +1300 ·
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
list Dan Vande More · Wed, 6 Dec 2006 16:36:38 -0600 ·
Does your rrd have any data in it? (rrdtool dump foo.rrd)
quoted from Alun Watson

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
list Alun Watson · Thu, 7 Dec 2006 11:45:55 +1300 ·
Yes, sorry I forgot to include that thanks Dan.
 
"squidclients.rrd"
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1165444691 </lastupdate> <!-- 2006-12-07 11:38:11
NZDT -->
 
        <ds>
                <name> numberofclients </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>
 
                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 4.7750000000e+03 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>
 
<!-- Round Robin Archives -->
        <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
                <xff> 5.0000000000e-01 </xff>
 
                <cdp_prep>
                        <ds><value> NaN </value>  <unknown_datapoints> 0
</unkno
wn_datapoints></ds>
                </cdp_prep>
                <database>

<snip>
                        <!-- 2006-12-07 10:55:00 NZDT / 1165442100 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:00:00 NZDT / 1165442400 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:05:00 NZDT / 1165442700 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:10:00 NZDT / 1165443000 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:15:00 NZDT / 1165443300 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:20:00 NZDT / 1165443600 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:25:00 NZDT / 1165443900 -->
<row><v>
2.7226666667e+01 </v></row>
                        <!-- 2006-12-07 11:30:00 NZDT / 1165444200 -->
<row><v>
2.6000000000e+01 </v></row>
                        <!-- 2006-12-07 11:35:00 NZDT / 1165444500 -->
<row><v>
2.5630000000e+01 </v></row>
                </database>
        </rra>

 
and
 
"squid.rrd"
<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1165444993 </lastupdate> <!-- 2006-12-07 11:43:13
NZDT -->
 
        <ds>
                <name> serverhttpbitsin </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>
 
                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 7.2362069000e+06 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>
 
        <ds>
                <name> serverhttpbitsout </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>
 
                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 1.6353314600e+06 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>
 
<!-- Round Robin Archives -->
        <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
                <xff> 5.0000000000e-01 </xff>
 
                <cdp_prep>
                        <ds><value> NaN </value>  <unknown_datapoints> 0
</unkno
wn_datapoints></ds>
                        <ds><value> NaN </value>  <unknown_datapoints> 0
</unkno
wn_datapoints></ds>
                </cdp_prep>
                <database>
                        <!-- 2006-12-07 11:00:00 NZDT / 1165442400 -->
<row><v>
4.6487035333e+04 </v><v> 3.9878262000e+03 </v></row>
                        <!-- 2006-12-07 11:05:00 NZDT / 1165442700 -->
<row><v>
2.5109441667e+04 </v><v> 2.4132633333e+03 </v></row>
                        <!-- 2006-12-07 11:10:00 NZDT / 1165443000 -->
<row><v>
2.1550620000e+04 </v><v> 2.9452312000e+03 </v></row>
                        <!-- 2006-12-07 11:15:00 NZDT / 1165443300 -->
<row><v>
2.9355680000e+04 </v><v> 5.5077820000e+03 </v></row>
                        <!-- 2006-12-07 11:20:00 NZDT / 1165443600 -->
<row><v>
2.9281812000e+04 </v><v> 5.2234711600e+03 </v></row>
                        <!-- 2006-12-07 11:25:00 NZDT / 1165443900 -->
<row><v>
2.2204549333e+04 </v><v> 1.9156342133e+03 </v></row>
                        <!-- 2006-12-07 11:30:00 NZDT / 1165444200 -->
<row><v>
3.1672078000e+04 </v><v> 3.8617092000e+03 </v></row>
                        <!-- 2006-12-07 11:35:00 NZDT / 1165444500 -->
<row><v>
2.9816217333e+04 </v><v> 4.3961993333e+03 </v></row>
                        <!-- 2006-12-07 11:40:00 NZDT / 1165444800 -->
<row><v>
3.5447117000e+04 </v><v> 6.5455652333e+03 </v></row>
                </database>
        </rra>
quoted from Dan Vande More

 
From: Dan Vande More [mailto:user-f3c4c62d9d50@xymon.invalid] 
Sent: Thursday, 7 December 2006 11:37 
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NCV rrd help


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
list Dan Vande More · Wed, 6 Dec 2006 17:02:08 -0600 ·
Ok, that looks good.

This might be stupid, but according to this:

http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html

Your DEF lines should be of the format:

DEF:var_name_1=some.rrd:ds_name:CF

But in your case you have:


DEF:serverhttpbitsin=squid.rrd:IN:AVERAGE
DEF:serverhttpbitsout=squid.rrd:OUT:AVERAGE
DEF:numberofclients=squidclients.rrd:clients:AVERAGE

Where you seem to have an odd $ds_name

Where did IN, OUT, and clients come from? Your rrds says your ds names
are numberofclients, serverhttpbitsin, serverhttpbitsout.

It seems this is your problem. Forgive me if it's not, I've only
recently gained a rudimentary understanding of how CDEFs work, their
complexity has overwhelmed me far too long than I care to admit.

Dan
quoted from Alun Watson


On 12/6/06, Alun Watson <user-c0c80eb1ea73@xymon.invalid> wrote:
 Yes, sorry I forgot to include that thanks Dan.

"squidclients.rrd"
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1165444691 </lastupdate> <!-- 2006-12-07 11:38:11
NZDT -->

        <ds>
                <name> numberofclients </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 4.7750000000e+03 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

<!-- Round Robin Archives -->
        <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
                <xff> 5.0000000000e-01 </xff>

                <cdp_prep>
                        <ds><value> NaN </value>  <unknown_datapoints> 0
</unkno
wn_datapoints></ds>
                </cdp_prep>
                <database>
<snip>
                        <!-- 2006-12-07 10:55:00 NZDT / 1165442100 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:00:00 NZDT / 1165442400 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:05:00 NZDT / 1165442700 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:10:00 NZDT / 1165443000 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:15:00 NZDT / 1165443300 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:20:00 NZDT / 1165443600 -->
<row><v>
2.8000000000e+01 </v></row>
                        <!-- 2006-12-07 11:25:00 NZDT / 1165443900 -->
<row><v>
2.7226666667e+01 </v></row>
                        <!-- 2006-12-07 11:30:00 NZDT / 1165444200 -->
<row><v>
2.6000000000e+01 </v></row>
                        <!-- 2006-12-07 11:35:00 NZDT / 1165444500 -->
<row><v>
2.5630000000e+01 </v></row>
                </database>
        </rra>

*and*

"squid.rrd"
<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1165444993 </lastupdate> <!-- 2006-12-07 11:43:13
NZDT -->

        <ds>
                <name> serverhttpbitsin </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 7.2362069000e+06 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> serverhttpbitsout </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 1.6353314600e+06 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

<!-- Round Robin Archives -->
        <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
                <xff> 5.0000000000e-01 </xff>

                <cdp_prep>
                        <ds><value> NaN </value>  <unknown_datapoints> 0
</unkno
wn_datapoints></ds>
                        <ds><value> NaN </value>  <unknown_datapoints> 0
</unkno
wn_datapoints></ds>
                </cdp_prep>
                <database>
                        <!-- 2006-12-07 11:00:00 NZDT / 1165442400 -->
<row><v>
4.6487035333e+04 </v><v> 3.9878262000e+03 </v></row>
                        <!-- 2006-12-07 11:05:00 NZDT / 1165442700 -->
<row><v>
2.5109441667e+04 </v><v> 2.4132633333e+03 </v></row>
                        <!-- 2006-12-07 11:10:00 NZDT / 1165443000 -->
<row><v>
2.1550620000e+04 </v><v> 2.9452312000e+03 </v></row>
                        <!-- 2006-12-07 11:15:00 NZDT / 1165443300 -->
<row><v>
2.9355680000e+04 </v><v> 5.5077820000e+03 </v></row>
                        <!-- 2006-12-07 11:20:00 NZDT / 1165443600 -->
<row><v>
2.9281812000e+04 </v><v> 5.2234711600e+03 </v></row>
                        <!-- 2006-12-07 11:25:00 NZDT / 1165443900 -->
<row><v>
2.2204549333e+04 </v><v> 1.9156342133e+03 </v></row>
                        <!-- 2006-12-07 11:30:00 NZDT / 1165444200 -->
<row><v>
3.1672078000e+04 </v><v> 3.8617092000e+03 </v></row>
                        <!-- 2006-12-07 11:35:00 NZDT / 1165444500 -->
<row><v>
2.9816217333e+04 </v><v> 4.3961993333e+03 </v></row>
                        <!-- 2006-12-07 11:40:00 NZDT / 1165444800 -->
<row><v>
3.5447117000e+04 </v><v> 6.5455652333e+03 </v></row>
                </database>
        </rra>


*From:* Dan Vande More [mailto:user-f3c4c62d9d50@xymon.invalid]
*Sent:* Thursday, 7 December 2006 11:37
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] NCV rrd help

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
list Alun Watson · Thu, 7 Dec 2006 14:07:51 +1300 ·
 
Wow ... don't I feel like a boob. 
Thanks Dan you were right I've changed the squid and squidclients to
this and it works. 
 
 
[squid]
        TITLE Squid IN-OUT
        YAXIS # bits
        DEF:serverhttpbitsin=squid.rrd:serverhttpbitsin:AVERAGE
        DEF:serverhttpbitsout=squid.rrd:serverhttpbitsout:AVERAGE
        LINE2:serverhttpbitsin#555555:IN_Traffic
        LINE2:serverhttpbitsout#880000:OUT_Traffic
        COMMENT:\n
        GPRINT:serverhttpbitsin:LAST:IN_Traffic \: %5.1lf%s (cur)
        GPRINT:serverhttpbitsin:MAX: \: %5.1lf%s (max)
        GPRINT:serverhttpbitsin:MIN: \: %5.1lf%s (min)
        GPRINT:serverhttpbitsin:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:serverhttpbitsout:LAST:OUT_Traffic \: %5.1lf%s (cur)
        GPRINT:serverhttpbitsout:MAX: \: %5.1lf%s (max)
        GPRINT:serverhttpbitsout:MIN: \: %5.1lf%s (min)
        GPRINT:serverhttpbitsout:AVERAGE: \: %5.1lf%s (avg)\n
[squidclients]
        TITLE Squid Clients
        YAXIS # count
        DEF:numberofclients=squidclients.rrd:numberofclients:AVERAGE
        LINE2:numberofclients#880000:Number_of_clients
        COMMENT:\n
        GPRINT:numberofclients:LAST:Number_of_clients \: %5.1lf%s (cur)
        GPRINT:numberofclients:MAX: \: %5.1lf%s (max)
        GPRINT:numberofclients:MIN: \: %5.1lf%s (min)
        GPRINT:numberofclients:AVERAGE: \: %5.1lf%s (avg)\n
quoted from Dan Vande More

 
From: Dan Vande More [mailto:user-f3c4c62d9d50@xymon.invalid] 
Sent: Thursday, 7 December 2006 12:02 
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NCV rrd help


Ok, that looks good. 

This might be stupid, but according to this:

http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html

Your DEF lines should be of the format:


DEF:var_name_1=
some.rrd:ds_name:CF
quoted from Dan Vande More

But in your case you have:

        
DEF:serverhttpbitsin=squid.rrd:IN:AVERAGE
DEF:serverhttpbitsout=squid.rrd:OUT:AVERAGE
DEF:numberofclients=squidclients.rrd:clients:AVERAGE


Where you seem to have an odd $ds_name

Where did IN, OUT, and clients come from? Your rrds says your ds names
are 
numberofclients, serverhttpbitsin, 
serverhttpbitsout.

It seems this is your problem. Forgive me if it's not, I've only
recently gained a rudimentary understanding of how CDEFs work, their
complexity has overwhelmed me far too long than I care to admit.


Dan