On Wednesday at 1:44pm, CW=>Chris Wilson <[EMAIL PROTECTED]> wrote:

CW> Hi all,
CW> 
CW> rrdtool does not always exit with a return code greater than 0 when 
CW> there is a problem with its command line. For example:
CW> 

Chris,

Related to this topic, I posted this on the rrd-users list a while ago 
(Oct 1, 2004):
http://www.ee.ethz.ch/~slist/rrd-users/msg09002.html
and then on the developer list (Oct 21, 2004): 
http://www.ee.ethz.ch/~slist/rrd-developers/msg01344.html

If memory serves me right, I got a reply from Tobi (which I can't find) 
asking me to provide a patch (which I did). Dunno what happened to it 
afterwards.

CW> [EMAIL PROTECTED] chris]$ /usr/bin/rrdtool create /foo/bar.rrd --start
CW> 1112784412 DS:battery_voltage:GAUGE:600:U:U
CW> DS:input_frequency:GAUGE:600:U:U DS:input_voltage:GAUGE:600:U:U
CW> DS:input_voltage.minim:GAUGE:600:U:U
CW> DS:input_voltage_maximum:GAUGE:600:U:U DS:ups_load:GAUGE:600:U:U
CW> RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775
CW> RRA:AVERAGE:0.5:288:797
CW> ERROR: can't parse argument 'DS:input_voltage.minim:GAUGE:600:U:U'
CW> 
CW> [EMAIL PROTECTED] chris]$ echo $?
CW> 0
CW> 
CW> The output error message could also be more useful. I had to use trial
CW> and error to find out that the maximum length of a variable name was 19
CW> characters and that dots (.) were not allowed.
CW> 
CW> Cheers, Chris.
CW> 

--
Haroon Rafique
<[EMAIL PROTECTED]>

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