[rrd-developers] [PATCH] python binding tuple as arg in every method

Tobias Oetiker tobi at oetiker.ch
Fri Aug 21 00:11:48 CEST 2009


Hi Tomasz,

Not beeing a python wizz, please tell me in what way is your patch
adding something else than what r1771 already did ...

please check the latest 1.4pre snapshot
cheers
tobi

Yesterday Tomasz Pajor wrote:

> Hello,
>
> You can create a tuple from for example list, list is propagated
> dynamically with data from db.
>
> rrd_create_config = ('/tmp/maria/rrd/1/1.rrd', '--start', '1250731051',
> '--step', '10', 'DS:PHYS_LOAD_1:GAUGE:120:0.0:U',
> 'DS:PHYS_LOAD_5:GAUGE:120:0.0:U', 'DS:PHYS_LOAD_15:GAUGE:120:0.0:U',
> 'RRA:MIN:0.500000:6:700', 'RRA:MIN:0.500000:24:775',
> 'RRA:MIN:0.500000:288:2000', 'RRA:MAX:0.500000:6:700',
> 'RRA:MAX:0.500000:24:775', 'RRA:MAX:0.500000:288:2000',
> 'RRA:AVERAGE:0.500000:1:600', 'RRA:AVERAGE:0.500000:6:700',
> 'RRA:AVERAGE:0.500000:24:775', 'RRA:AVERAGE:0.500000:288:2000')
>
> rrdtool.create(rrd_create_config)
>
> Patch is available at:
> http://puffy.pl/patches/rrdtool_python_binding_create_args_from_tuple.patch
>
> Tobi can this be applied to 1.4.0?
>
> --
> Best regards
> Tomasz Pajor
> puffy.pl - what you can't do we can do it for you
>
> _______________________________________________
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list