[rrd-users] combine MB/CPU and HDD temps in one rrd graph

Simon Hobson linux at thehobsons.co.uk
Sun Jul 27 21:38:12 CEST 2008


Audio Phile wrote:
>Can someone with RRD experience help me combine my MB, CPU and HDD temp
>into one graph?  I'm thinking that some how, they need to combined 
>into a single file
>rrd_combined.pl and have the graph output show all 3 on the same axis.



>         "DEF:mbt1=$log/$dbf.rrd:mbt1:AVERAGE",
>         "DEF:mbt2=$log/$dbf.rrd:mbt2:AVERAGE",

I don't know about the perl side of things, but you don't need the 
data in one file, you can reference multiple data files in one graph, 
eg :

"DEF:mbt1=$log-cpu/$dbf-cpu.rrd:mbt1:AVERAGE"
"DEF:mbt2=$log-cpu/$dbf-cpu.rrd:mbt2:AVERAGE"
"DEF:hdt1=$log-hdd/$dbf-hdd.rrd:hdt1:AVERAGE"



More information about the rrd-users mailing list