[rrd-users] Re: Problem with rrds::graph

Ingrassia, Rickey T Rickey.T.Ingrassia at bankofamerica.com
Mon Aug 11 19:51:41 MEST 2003


Frank,
  It looks like you're missing a double qoute (") and a comma (,).  The line should:

"-x", "HOUR:12:DAY:1:DAY:1:24:%d",

Here is a working example that I use for changing the x-grid.  It's used to display 1 week of data.

"--x-grid", "HOUR:4:HOUR:24:DAY:1:0:%a %m/%d"

--rickey

> RRDs::graph ("www.dummysitename.gov-perf.gif","-s 1057017823","-e
> 1059782071","-t www.dummysitename.gov Start: 2003-07-01 Eind: 
> 2003-08-01","
> -v Response tijd in Sec","-w 500","-h 200","-u 50","-r","-x
> HOUR:12:DAY:1:DAY:1:24:%d","COMMENT:Aantal samples = 1298
> ","COMMENT:Threshold = 45 \n","COMMENT:Aantal samples over 
> Threshold = 118
> (9.09%)
> \n","DEF:response=www.dummysitename.gov.rrd:response:AVERAGE",
> "CDEF:over=response,45,GT,response,0,IF","CDEF:onder=response,
> 45,GT,0,response,IF","HRULE:45#0000FF:Threshold","AREA:onder#0
> FFF00:Response
> 
> tijd onder Threshold","AREA:over#000000:Response tijd over 
> Threshold");
> my $ERR=RRDs::error;  print "ERROR Graphing 
www.dummysitename.gov: $ERR\n"
if $ERR;





--
Met vriendelijke groet


Frank Hooglander...
                                                                           
                                               A computer is almost human  
 Fortis ASR                                    except that it does not     
 ET Webservices                                blame                       
 Postbus 100, 3000 AC Rotterdam, Lokatie       its mistakes on other       
 Weena 70                                      computers.                  
                                                                           
 Frank.Hooglander at asr.nl                                                   
                                                                           







****************************DISCLAIMER***********************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
Verstrekking aan en gebruik door anderen is niet toegestaan.
Fortis ASR Verzekeringsgroep N.V. sluit iedere
aansprakelijkheid uit die voortvloeit uit elektronische
verzending.
 
This e-mail is intended exclusively for the addressee(s),
and may not be passed on to, or made available for use
by any person other than the addressee(s).
Fortis ASR Verzekeringsgroep N.V. rules out any and
every liability resulting from any electronic transmission.
*************************************************************

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list