[rrd-users] graphing multiple lines to single image file

Daniel Schlifka schlifka at geekpit.org
Thu Oct 17 13:43:40 CEST 2019


Hi,

i'm trying to create a graph from two files.
If i open the image there is one line, i expected two.

Where is my mistake?
Thanks in advance.

regards,

Daniel


This is my command:
rrdtool graph my.png \
        -h 150 \
        -w 600 \
        -a PNG \
        --start 20190801 \
        --end 20190901 \
        DEF:val_A=val_A.rrd:1:AVERAGE LINE1:val_A#0000EE:"val_a" \
        DEF:val_b=val_B.rrd:1:AVERAGE LINE1:val_b#FF0000:"val_b" \
        --vertical-label "percent" \
        --lower-limit 0 --upper-limit 100  \
~                                                                      
                                                                       
                                  
~                                                                      
                                                                       
                                  
~                                                                      
                                                                       
                                  
~                                  




More information about the rrd-users mailing list