[rrd-users] Re: rrdcgi - global variable

Tobias Oetiker oetiker at ee.ethz.ch
Sun Feb 18 23:33:09 MET 2001


Today Markus Baertschi wrote:

 |
 |
 | I'm looking for a way to specify a 'global variable' in a script
 | for rrdcgi. In one rrd cgi script I have usually several rrd::graph
 | statements. I'd like to define the two paths ocurring in each
 | of them (path to rrd-file & path to image directory) once at the
 | beginning of the file.
 | At the moment I have to define them in each statement individually.

you can use the access to cgi parameters, but then you have to
supply the information to the cgi ... at the moment rrdcgi does not
have other means of acomplishing what you want ...

cheers
tobi
 |
 | Any Ideas ?
 |
 |
 | ---
 |   Markus Baertschi             Phone: ++41 (21) 807 1677
 |   Rue de la Gare 7b            Fax  : ++41 (21) 807 1678
 |   CH-1163, Etoy                Email: markus at markus.org
 |   Switzerland                  Homepage: www.markus.org
 |
 |
 |
 | --
 | 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
 |
 |

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


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