[rrd-users] Some question (VRULE & FETCH)

Paolo Barbato barbato at igi.pd.cnr.it
Fri Jul 28 15:12:47 MEST 2000


Hi all,

I have some question:

1) I'd like to use VRULE to obtain a vertical bar in my graph. I use 
as time word "midnigth", but a syntax error come. These are my lines

rrdtool graph /usr/users/rfx_web/wwwsc/jet/FTPdaily.png \
--imgformat PNG \
--vertical-label byte/s \
--start -180000 \
--width 600 \
--height 100 \
DEF:smalldata=/web/paolo/proc/jetftp.rrd:small:AVERAGE \
DEF:bigdata=/web/paolo/proc/jetftp.rrd:big:AVERAGE \
VRULE:midnight#ff0000 \
CDEF:smalldata_g=smalldata,600000,* \
CDEF:bigdata_g=bigdata,600000,* \
AREA:bigdata_g#0000FF:"bigfile" \
AREA:smalldata_g#00FF00:"smallfile"

2) There's a way to obtain by fetch a single value such as AVERAGE or 
MAX for a period of time. At now I use graph function to obtain this 
single values.

Thanks in advance.

Paolo.

-- 
--------------------------------
Paolo Barbato
Network Administrator of Consorzio RFX
Corso Stati Uniti,4
35127 Camin - Padova
ITALY
e-mail:  barbato at igi.pd.cnr.it
              system at igi.pd.cnr.it
phone:   (39-049)-829-5097
              (39-049)-829-5000
fax:      (39-049)-8700718
www:	http://www.igi.pd.cnr.it
--------------------------------

--
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