I know I have seen the ability to get csv data from an rrd database but can not find where I saw it...
Any suggestions?
CSV output from RRD data?
Moderators: Developers, Moderators
I was hoping for a procedure that verified that the data was correct (someone else tested it...)
What I came up with is:
passthru ("/opt/rrd/bin/rrdtool dump
/www/htdocs/changed/internal/rrd/rra/SMS_in.rrd|grep -v NaN
| grep '<row>' | tr e ' '
|awk {'print "Q"$2"qcq"$3"qcq"$9"Q"'}
| tr Q '"'|tr c ','|tr q '"'");
This is a php statement...
<font size=-1>[ This Message was edited by: solarix on 2002-01-18 21:43 ]</font>
What I came up with is:
passthru ("/opt/rrd/bin/rrdtool dump
/www/htdocs/changed/internal/rrd/rra/SMS_in.rrd|grep -v NaN
| grep '<row>' | tr e ' '
|awk {'print "Q"$2"qcq"$3"qcq"$9"Q"'}
| tr Q '"'|tr c ','|tr q '"'");
This is a php statement...
<font size=-1>[ This Message was edited by: solarix on 2002-01-18 21:43 ]</font>
Who is online
Users browsing this forum: No registered users and 1 guest