RRDs::graph(/www/htdocs/rrd/images/sar_stats/eth0packets-day.png,
-s,
-108000,
-x,
HOUR:1:HOUR:6:HOUR:2:0:%-H,
--lazy,
-a,
PNG,
-h,
120,
-w,
500,
-W,
 Haroon Rafique 2003-2019. All rights reserved. Unauthorised use prohibited.,
-v,
Packets/sec,
DEF:a=/www/htdocs/rrd/logs/sar_stats/localhost.rrd:eth0_rxpck_s:AVERAGE,
DEF:b=/www/htdocs/rrd/logs/sar_stats/localhost.rrd:eth0_txpck_s:AVERAGE,
DEF:c=/www/htdocs/rrd/logs/sar_stats/localhost.rrd:eth0_rxerr_s:AVERAGE,
DEF:d=/www/htdocs/rrd/logs/sar_stats/localhost.rrd:eth0_txerr_s:AVERAGE,
CDEF:cdefnegb=b,-1,*,
CDEF:cdefnegd=d,-1,*,
AREA:a#eacc00:Packets Rx,
LINE1:a#000001,
GPRINT:a:LAST:Cur\:%8.2lf %s,
GPRINT:a:AVERAGE:Ave\:%8.2lf %s,
GPRINT:a:MAX:Max\:%8.2lf %s\n,
AREA:cdefnegb#da4725:Packets Tx,
LINE1:cdefnegb#000001,
GPRINT:b:LAST:Cur\:%8.2lf %s,
GPRINT:b:AVERAGE:Ave\:%8.2lf %s,
GPRINT:b:MAX:Max\:%8.2lf %s\n,
LINE1:c#8f005c:Pkt Err Rx,
GPRINT:c:LAST:Cur\:%8.2lf %s,
GPRINT:c:AVERAGE:Ave\:%8.2lf %s,
GPRINT:c:MAX:Max\:%8.2lf %s\n,
LINE1:cdefnegd#ffc73b:Pkt Err Tx,
GPRINT:d:LAST:Cur\:%8.2lf %s,
GPRINT:d:AVERAGE:Ave\:%8.2lf %s,
GPRINT:d:MAX:Max\:%8.2lf %s\n,
VRULE:1566014400#ff0000,
VRULE:1566100800#ff0000)