I'm trying to add a legend that reports LAST and MAX for 'a' and 'g'. everything below is functional. I have gone through a few variations of the RRDs::graph function with no luck.
my rrd definition: RRDs::create ($rrdfile, "--start", $time, "--step", 120, "DS:auth:GAUGE:600:0:99999", # auth = authenticated users "DS:guest:GAUGE:600:0:99999", # guest = guest users "RRA:MAX:0.5:1:1440", # 48 hours, 2 minute samples "RRA:MAX:0.5:30:240", # weekly, 10 days of 1 hour samples "RRA:MAX:0.5:48:336", # monthly, 8 weeks of 4 hour samples "RRA:MAX:0.5:288:730", # yearly, 2 years of 1 day samples "RRA:MAX:0.5:2016:1040", # 20 years of 1 week samples ); My current working graphing: RRDs::graph "$apgraph$graphfile48", "--title", $ap, "--start", "now-48h", "--width=200", "--height=50", "--vertical-label=Active Users", "DEF:a=$rrdfile:auth:MAX", "DEF:g=$rrdfile:guest:MAX", "AREA:a#FFCC33:Authenticated Users ", "AREA:g#3366FF:Guest Users:STACK", "--lazy", ; _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users