Re: [gentoo-user] [OT] rrd to CSV

2009-07-12 Thread Willie Wong
On Sat, Jul 11, 2009 at 03:57:26PM +0100, Penguin Lover Mick squawked: Hmm, I don't think it gets anywhere: === cat test.xml | grep -v NaN | grep 'row' | tr e ' ' | awk {'print Q$2qcq$3qcq$9Q'} | tr Q '' | tr c ',' | tr q '' test.csv

Re: [gentoo-user] [OT] rrd to CSV

2009-07-11 Thread Mick
On Monday 06 July 2009, Willie Wong wrote: On Sun, Jul 05, 2009 at 11:07:23PM +0100, Penguin Lover Mick squawked: from Cacti forums): | grep -v NaN | grep 'row' | tr e ' ' \ | awk {'print Q$2qcq$3qcq$9Q'} \ | tr Q '' | tr c ',' | tr q '' Haven't tested it, but looks like it

Re: [gentoo-user] [OT] rrd to CSV

2009-07-06 Thread Willie Wong
On Sun, Jul 05, 2009 at 11:07:23PM +0100, Penguin Lover Mick squawked: from Cacti forums): | grep -v NaN | grep 'row' | tr e ' ' \ | awk {'print Q$2qcq$3qcq$9Q'} \ | tr Q '' | tr c ',' | tr q '' Haven't tested it, but looks like it should work. Hmm, I don't think it gets anywhere:

Re: [gentoo-user] [OT] rrd to CSV

2009-07-05 Thread Mick
On Saturday 04 July 2009, Mark Shields wrote: On Sat, Jul 4, 2009 at 11:36 AM, Mick michaelkintz...@gmail.com wrote: Hi All, I know that rrdtool dump will export the rrd data into XML, but is there something to either directly or via rrdtool create a CSV file for me? Will probably want

[gentoo-user] [OT] rrd to CSV

2009-07-04 Thread Mick
Hi All, I know that rrdtool dump will export the rrd data into XML, but is there something to either directly or via rrdtool create a CSV file for me? Will probably want to run this on a cron job and email/save it. -- Regards, Mick signature.asc Description: This is a digitally signed

Re: [gentoo-user] [OT] rrd to CSV

2009-07-04 Thread Mark Shields
On Sat, Jul 4, 2009 at 11:36 AM, Mick michaelkintz...@gmail.com wrote: Hi All, I know that rrdtool dump will export the rrd data into XML, but is there something to either directly or via rrdtool create a CSV file for me? Will probably want to run this on a cron job and email/save it. --

Re: [gentoo-user] [OT] rrd to CSV

2009-07-04 Thread Mick
On Saturday 04 July 2009, Mark Shields wrote: On Sat, Jul 4, 2009 at 11:36 AM, Mick michaelkintz...@gmail.com wrote: Hi All, I know that rrdtool dump will export the rrd data into XML, but is there something to either directly or via rrdtool create a CSV file for me? Will probably want