I has tried whit it, but i didn't have what i need, I Put just afther the <RRD::GRAPH ... > command, the line <RRD::PRINT mem1> And when i look the htmlpage i get this error [ERROR: RRD::PRINT argument error]
I need put the value of "mem1" (DEF:mem1=<RRD::CV RRD_MEM>.rrd:ds0:AVERAGE) in a variable and work with it from a javascript. Thanks. jomb. -----Mensaje original----- De: Dan McGinn-Combs [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 07 de mayo de 2003 14:53 Para: RRD User List (E-mail) Asunto: [rrd-users] Re: Can I export RRDTOOL values? Jose, I ran into just this question not too long ago. I was on the verge of writing to the user list when I spied the following information on the web man pages for RRDTool CGI. RRD::PRINT number If the preceding RRD::GRAPH tag contained and PRINT arguments, then you can access their output with this tag. The number argument refers to the number of the PRINT argument. This first PRINT has number 0. This can be found (along with other goodies at http://www.rrdtool.com/rrdcgi.html The same feature is available in the PERL bindings as well. Dan -----Original Message----- From: Jose Orlando Muñoz Bravo (HP) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2003 3:43 PM To: RRD User List (E-mail) Subject: [rrd-users] Can I export RRDTOOL values? Hi all, I'm working in a graph reports using RRDCGI, all work fine, however I want to export the a RRDTOOL values from RRA in order to print over a HTML page. example <RRD::GRAPH <RRD::CV RRD_MEM>.png --imginfo '<IMG SRC=<RRD::CV RRD_MEM>.png>' -s 'end-<RRD::CV Period>' -a PNG -u <RRD::CV Memt> -l 0 -w 500 -h 160 -v "K Pages" -t "Memory Usage <RRD::CV Server>" DEF:mem1=<RRD::CV RRD_MEM>.rrd:ds0:AVERAGE DEF:memmax=<RRD::CV RRD_MEM>.rrd:memoria:MAX CDEF:bad=mem,<RRD::CV Mem80>,GT,mem,0,IF CDEF:ok=mem,<RRD::CV Mem80>,GT,0,mem,IF CDEF:cri=mem,<RRD::CV Mem90>,GT,mem,0,IF ... ... I would like to analyze the "mem1" value, and I need to put this value in a variable and make some operations with it, but outside from the graph, in the html document. I appreciate any idea. Thanks in advanced jomb -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
