This Works:
rrdtool.create('/tmp/test.rrd',
'DS:speed:COUNTER:600:0:100000', 'RRA:AVERAGE:0.5:1:24',
'RRA:AVERAGE:0.5:1:48')
With my wrapper I do:
my_args_tupple = ('DS:speed:COUNTER:600:0:100000',
'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:1:48')
rrdtool.create('/tmp/test.rrd' str(my_args_tupple))
And I get:
_rrdtool.error: can't parse argument
'('DS:speed:COUNTER:600:0:100000', 'RRA:AVERAGE:0.5:1:24',
'RRA:AVERAGE:0.5:1:48')'
What's the prob here? Probably a stupid one...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
there was a missing comma in the last post of mine, so where
you see:
rrdtool.create('/tmp/test.rrd' str(my_args_tupple))
it really is:
rrdtool.create('/tmp/test.rrd', str(my_args_tupple))
It was just a typo when posting here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=927681
This Works:
rrdtool.create('/tmp/test.rrd',
'DS:speed:COUNTER:600:0:100000', 'RRA:AVERAGE:0.5:1:24',
'RRA:AVERAGE:0.5:1:48')
With my wrapper I do:
my_args_tupple = ('DS:speed:COUNTER:600:0:100000',
'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:1:48')
rrdtool.create('/tmp/test.rrd' str(my_args_tupple))
And I get:
_rrdtool.error: can't parse argument
'('DS:speed:COUNTER:600:0:100000', 'RRA:AVERAGE:0.5:1:24',
'RRA:AVERAGE:0.5:1:48')'
What's the prob here? Probably a stupid one...
Logged In: YES
user_id=927681
there was a missing comma in the last post of mine, so where
you see:
rrdtool.create('/tmp/test.rrd' str(my_args_tupple))
it really is:
rrdtool.create('/tmp/test.rrd', str(my_args_tupple))
It was just a typo when posting here.