#!/usr/bin/rrdcgi <RRD::GOODFOR -600>
<RRD::INCLUDE nav.inc.html>

## wlan statistics: <RRD::CV ifname>

<RRD::GRAPH ../rrd-img/<RRD::CV::PATH ifname>-qual-day.png --imginfo '' --lazy -i -a PNG --title="Link Quality (Day)" -v "Unknown Unit" -l 0 DEF:qual=/var/lib/rrd/wlan-<RRD::CV::PATH ifname>.rrd:qual:AVERAGE AREA:qual#1111FF:Quality LINE1:qual#000099 GPRINT:qual:MIN:" Min\: %2.lf" GPRINT:qual:MAX:" Max\: %2.lf" GPRINT:qual:AVERAGE:" Avg\: %4.1lf" GPRINT:qual:LAST:" Current\: %2.lf">

<RRD::GRAPH ../rrd-img/<RRD::CV::PATH ifname>-qual-week.png --imginfo '' --lazy -i -a PNG --title="Link Quality (Week)" -v "Unknown Unit" -l 0 -s -1week DEF:qual=/var/lib/rrd/wlan-<RRD::CV::PATH ifname>.rrd:qual:AVERAGE AREA:qual#1111FF:Quality LINE1:qual#000099 GPRINT:qual:MIN:" Min\: %2.lf" GPRINT:qual:MAX:" Max\: %2.lf" GPRINT:qual:AVERAGE:" Avg\: %4.1lf" GPRINT:qual:LAST:" Current\: %2.lf">

<RRD::GRAPH ../rrd-img/<RRD::CV::PATH ifname>-qual-month.png --imginfo '' --lazy -i -a PNG --title="Link Quality (Month)" -v "Unknown Unit" -l 0 -s -1month DEF:qual=/var/lib/rrd/wlan-<RRD::CV::PATH ifname>.rrd:qual:AVERAGE AREA:qual#1111FF:Quality LINE1:qual#000099 GPRINT:qual:MIN:" Min\: %2.lf" GPRINT:qual:MAX:" Max\: %2.lf" GPRINT:qual:AVERAGE:" Avg\: %4.1lf" GPRINT:qual:LAST:" Current\: %2.lf">

<RRD::GRAPH ../rrd-img/<RRD::CV::PATH ifname>-qual-year.png --imginfo '' --lazy -i -a PNG --title="Link Quality (Year)" -v "Unknown Unit" -l 0 -s -1year DEF:qual=/var/lib/rrd/wlan-<RRD::CV::PATH ifname>.rrd:qual:AVERAGE AREA:qual#1111FF:Quality LINE1:qual#000099 GPRINT:qual:MIN:" Min\: %2.lf" GPRINT:qual:MAX:" Max\: %2.lf" GPRINT:qual:AVERAGE:" Avg\: %4.1lf" GPRINT:qual:LAST:" Current\: %2.lf">