[rrd-users] Need help with shell script`s

Rene Fritzsche Rene at deinheld.de
Tue Jan 6 11:52:29 CET 2009


Hi.

> Below is cause of my brain panic, help please, show me my misstake 

[...cut...]
>  VDEF:avgoutout=inetout,AVERAGE \ 
> 
>  LINE1:web#CCCCCC:"HTML-SHTML" \ 
>  GPRINT:maxhtm:"Max=%lf%s" \ 
>  GPRINT:avghtm:"Avg=%lf%s" \ 
>  GPRINT:html_sum:"Sum=%lf %sbytes\l" \ 
> 
>  LINE1:localin#FF6600:"Local IN" \ 
>  GPRINT:maxintin:"Max=%lf%s" \ 
>  GPRINT:avginin:"Avg=%lf%s" \ 
>  GPRINT:sumint_in_sum:"Sum=%lf %sbytes\l" \ 
> 
>  LINE1:inetin#0000FF:"Inet IN" \ 
>  GPRINT:maxoutin:"Max=%lf%s" \ 
>  GPRINT:avgoutin:"Avg=%lf%s" \ 
>  GPRINT:out_in_sum:"Sum=%lf %sbytes\l" \ 
> 
>  LINE1:localout#FF1100:"Local OUT" \ 
>  GPRINT:maxinout:"Max=%lf%s" \ 
>  GPRINT:avginout:"Avg=%lf%s" \ 
>  GPRINT:int_out_sum:"Sum=%lf %sbytes\l" \ 
> 
>  LINE1:inetout#FF0011:"Inet OUT" \ 
>  GPRINT:maxoutout:"Max=%lf%s" \ 
>  GPRINT:avgoutout:"Avg=%lf%s" \ 
>  GPRINT:out_out_sum:"Sum=%lf %sbytes\l" \ 
> 
> Cant figure out why i get 
> 
> LINE1:web#CCCCCC:HTML-SHTML: not found 
> LINE1:localin#FF6600:Local IN: not found 
> LINE1:inetin#0000FF:Inet IN: not found 
> LINE1:localout#FF1100:Local OUT: not found 
> LINE1:inetout#FF0011:Inet OUT: not found 

hmm... maybe you should just get rid of the empty lines after each set of LINE-GPRINT-Declarations.
a "\" can just link two following lines but not skip every empty one.

HTH,
 Rene.


____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123



More information about the rrd-users mailing list