Sasha Dolgy wrote: [snip] > CDEF:nf=" + ninetyFifth + ",UN,0," + ninetyFifth + ",IF \ > CDEF:nicenf=nf,1000000,/,1,*,1,/ \ > CDEF:maxin=" + maxIn + ",UN,0," + maxIn + ",IF \ > CDEF:maxout=" + maxOut + ",UN,0," + maxOut + ",IF \ > CDEF:cin=" + currentIn + ",UN,0," + currentIn + ",IF \ > CDEF:cout=" + currentOut + ",UN,0," + currentOut + ",IF \ [snip]
> The above works however, the portion that has spaces between it (the 6 CDEF > lines) (copied only those 6 lines) > do not work. Are there ways to define on a command line different values > that one > would want to use in the graph...? If I understand you, you'd like to insert the value from certain variables ? This of course depends on your shell however I've never encountered one that dereferences variables by quoting them and surrounding them with plus signs. You may have gotten confused by awk scripts where these kind of constructs can be seen. However, in that case they look like "CDEF:cout=" + currentOut + ",UN,0," + currentOut + ",IF" and then the quotes are *not* around your variables. My guess is that you should use CDEF:cout=$currentOut,UN,0,$currentOut,IF HTH -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- 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