<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left> </DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2>Wow ... don't I feel like a boob. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2>Thanks </FONT></SPAN>Dan you were right I've changed 
the squid and squidclients to this and it works. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2>[squid]<BR>        TITLE 
Squid IN-OUT<BR>        YAXIS # 
bits<BR>        
DEF:serverhttpbitsin=squid.rrd:serverhttpbitsin:AVERAGE<BR>        
DEF:serverhttpbitsout=squid.rrd:serverhttpbitsout:AVERAGE<BR>        
LINE2:serverhttpbitsin#555555:IN_Traffic<BR>        
LINE2:serverhttpbitsout#880000:OUT_Traffic<BR>        
COMMENT:\n<BR>        
GPRINT:serverhttpbitsin:LAST:IN_Traffic \: %5.1lf%s 
(cur)<BR>        GPRINT:serverhttpbitsin:MAX: 
\: %5.1lf%s (max)<BR>        
GPRINT:serverhttpbitsin:MIN: \: %5.1lf%s 
(min)<BR>        
GPRINT:serverhttpbitsin:AVERAGE: \: %5.1lf%s 
(avg)\n<BR>        
GPRINT:serverhttpbitsout:LAST:OUT_Traffic \: %5.1lf%s 
(cur)<BR>        
GPRINT:serverhttpbitsout:MAX: \: %5.1lf%s 
(max)<BR>        
GPRINT:serverhttpbitsout:MIN: \: %5.1lf%s 
(min)<BR>        
GPRINT:serverhttpbitsout:AVERAGE: \: %5.1lf%s 
(avg)\n<BR>[squidclients]<BR>        TITLE 
Squid Clients<BR>        YAXIS # 
count<BR>        
DEF:numberofclients=squidclients.rrd:numberofclients:AVERAGE<BR>        
LINE2:numberofclients#880000:Number_of_clients<BR>        
COMMENT:\n<BR>        
GPRINT:numberofclients:LAST:Number_of_clients \: %5.1lf%s 
(cur)<BR>        GPRINT:numberofclients:MAX: 
\: %5.1lf%s (max)<BR>        
GPRINT:numberofclients:MIN: \: %5.1lf%s 
(min)<BR>        
GPRINT:numberofclients:AVERAGE: \: %5.1lf%s (avg)\n<BR></DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=720122123-06122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Dan Vande More [mailto:bigdan@gmail.com] 
<BR><B>Sent:</B> Thursday, 7 December 2006 12:02 <BR><B>To:</B> 
hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] NCV rrd help<BR></FONT><BR></DIV>
<DIV></DIV><FONT style="COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)" 
size=2>Ok, that looks good. <BR><BR>This might be stupid, but according to 
this:<BR><BR><A 
href="http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html">http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html</A><BR><BR>Your 
DEF lines should be of the format:<BR><BR></FONT><PRE><FONT style="COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)" size=2>DEF:var_name_1=
some.rrd:ds_name:CF<BR><BR>But in your case you have:<BR><BR><SPAN>        <BR>DEF:serverhttpbitsin=squid.rrd:IN:AVERAGE<BR>DEF:serverhttpbitsout=squid.rrd:OUT:AVERAGE<BR>DEF:numberofclients=squidclients.rrd:clients:AVERAGE
<BR><BR>Where you seem to have an odd $ds_name<BR><BR>Where did IN, OUT, and clients come from? Your rrds says your ds names are </SPAN></FONT><FONT style="COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)" color=#0000ff size=2>
<SPAN>numberofclients, </SPAN></FONT><FONT style="COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)" color=#0000ff size=2><SPAN>serverhttpbitsin, </SPAN></FONT><FONT style="COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)" color=#0000ff size=2>
<SPAN>serverhttpbitsout.<BR><BR>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.
<BR><BR>Dan</SPAN></FONT></PRE>
<DIV>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV><FONT face=Arial color=#0000ff 
size=2></FONT> </DIV></BLOCKQUOTE></DIV></BODY></HTML>