I made a custom template to take 14 data sources (Access Point bandwidth usage) and graph the average of all of them. This is the config for this graph:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1403721359 \
--end=1403807759 \
--title='AP Average Upstream' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2014/06/25 18\:35\:59 To 2014/06/26 18\:35\:59\c" \
COMMENT:" \n" \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/hpwru08_traffic_in_81.rrd':'traffic_in':AVERAGE \
DEF:b='/var/lib/cacti/rra/hpwru08_traffic_in_99.rrd':'traffic_in':AVERAGE \
DEF:c='/var/lib/cacti/rra/hpwru08_traffic_in_97.rrd':'traffic_in':AVERAGE \
DEF:d='/var/lib/cacti/rra/hpwru08_traffic_in_79.rrd':'traffic_in':AVERAGE \
DEF:e='/var/lib/cacti/rra/hpwru08_traffic_in_83.rrd':'traffic_in':AVERAGE \
DEF:f='/var/lib/cacti/rra/hpwru08_traffic_in_67.rrd':'traffic_in':AVERAGE \
DEF:g='/var/lib/cacti/rra/hpwru08_traffic_in_71.rrd':'traffic_in':AVERAGE \
DEF:h='/var/lib/cacti/rra/hpwru08_traffic_in_75.rrd':'traffic_in':AVERAGE \
DEF:i='/var/lib/cacti/rra/hpwru08_traffic_in_61.rrd':'traffic_in':AVERAGE \
DEF:j='/var/lib/cacti/rra/hpwru08_traffic_in_65.rrd':'traffic_in':AVERAGE \
DEF:ba='/var/lib/cacti/rra/hpwru08_traffic_in_55.rrd':'traffic_in':AVERAGE \
DEF:bb='/var/lib/cacti/rra/hpwru08_traffic_in_57.rrd':'traffic_in':AVERAGE \
DEF:bc='/var/lib/cacti/rra/hpwru08_traffic_in_91.rrd':'traffic_in':AVERAGE \
DEF:bd='/var/lib/cacti/rra/linksys_switch_traffic_in_149.rrd':'traffic_in':AVERAGE \
CDEF:cdefbe='a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,i,+,j,+,ba,+,bb+,bc,+,bd,+,14,/' \
LINE1'' \
LINE1'' \
LINE1:c:'' \
LINE1:d:'' \
LINE1:e:'' \
LINE1:f:'' \
LINE1:g:'' \
LINE1:h:'' \
LINE1:i:'' \
LINE1:j:'' \
LINE1:ba:'' \
LINE1:bb:'' \
LINE1:bc:'' \
LINE1:bd:'' \
LINE1:cdefbe#4444FFFF:'Average AP Bandwidth'
It won't draw. What am I doing wrong here? Any answers?
What is wrong with this? My graph won't draw!
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Thu Jun 26, 2014 2:24 pm
Who is online
Users browsing this forum: No registered users and 2 guests