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: [EMAIL PROTECTED]
 |   Switzerland                  Homepage: www.markus.org
 |
 |
 |
 | --
 | 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
 |
 |

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


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

Reply via email to