[rrd-users] rrdtool doesn't always return proper status codes on error
chris at aidworld.org
Wed Apr 6 14:44:44 MEST 2005
rrdtool does not always exit with a return code greater than 0 when
there is a problem with its command line. For example:
[chris at dev chris]$ /usr/bin/rrdtool create /foo/bar.rrd --start
RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775
ERROR: can't parse argument 'DS:input_voltage.minim:GAUGE:600:U:U'
[chris at dev chris]$ echo $?
The output error message could also be more useful. I had to use trial
and error to find out that the maximum length of a variable name was 19
characters and that dots (.) were not allowed.
(aidworld) chris wilson | chief engineer (chris at aidworld.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
More information about the rrd-users