[rrd-users] api for iterating over single rows in a rrd file

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Fri Jul 4 12:30:59 CEST 2014


> From a user perspective, it would enable people to look across all their
> RRDs, e.g. to answer questions like "which CPUs were over 90% utilized
> at any time between 09:00 and 10:00

how is your solution better than

for rrdfile in set of relevant files
do
   cpumax=`rrdtool graph dummy.png --start starttime --end endtime
DEF:cpuutil=.... VDEF:cpumax=cpuutil,MAXIMUM PRINT:cpumax:%lf`
   if cpumax>90 then print rrdfile
done


(i am not judging your solution, i am asking!)




More information about the rrd-users mailing list