Aggregation of 2,3, and 4 sources

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
drose12
Posts: 31
Joined: Thu Mar 10, 2005 11:02 am

Aggregation of 2,3, and 4 sources

#1 Post by drose12 » Fri Nov 18, 2005 12:58 pm

Not sure if this will help anyone, but we have 4 Internet providers where I work, and I wanted to graph them all to see what our aggregate Internet bw was coming in and out. So attached are some graph templates.
Attachments
cacti_graph_template_aggregate_4_sources.xml
4 Sources
(24.21 KiB) Downloaded 2978 times
cacti_graph_template_aggregate_3_sources.xml
3 Sources
(20.71 KiB) Downloaded 2412 times
cacti_graph_template_aggregate_2_sources.xml
2 Sources
(17.78 KiB) Downloaded 3714 times
4sourceagg.png
4 Source Aggregate Inbound Internet Sample Graph
4sourceagg.png (43.76 KiB) Viewed 29253 times

volumen1
Posts: 9
Joined: Mon Nov 21, 2005 5:25 pm

#2 Post by volumen1 » Wed Jul 19, 2006 4:38 pm

I just wanted to let you know that this Template rocks my world. Thanks much!

It seems like the Total Out: comment numbers are off, though? I was assuming that this was total traffic through the interface for the time period. However, it seems like it's far too tiny to be that number. Maybe it's off by 1024 or 8*1024 or something?

Hmm.. actually it looks like the "Sum of 4" CDEF isn't applied to the Total Out comment. That seems to make it look better.

r_chetanjain
Cacti User
Posts: 83
Joined: Fri Aug 22, 2003 4:33 am

howto

#3 Post by r_chetanjain » Wed Jan 03, 2007 1:23 am

Hi,

Can you please post a howto on the steps to be followed after importing the templates.... how do i create graphs for two hosts or aggregate of 2 interfaces into one...


sunperz
Posts: 1
Joined: Tue Mar 17, 2009 9:15 am

#5 Post by sunperz » Tue Mar 17, 2009 9:29 am

why i use the template display some error?

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="T64G " \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/xxx_traffic_in_34.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/xxx_traffic_in_35.rrd":traffic_in:AVERAGE \
DEF:c="/var/www/cacti/rra/xxx_traffic_in_36.rrd":traffic_in:AVERAGE \
DEF:d="/var/www/cacti/rra/xxx_traffic_in_33.rrd":traffic_in:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=c,8,* \
CDEF:cdefbd=cdefa,cdefe,cdefi,+,+ \
AREA:cdefa#F5F800FF:"|query_ifAlias| |query_ifIP|\n" \
GPRINT:cdefa:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
AREA:cdefe#00CF00FF:"|query_ifAlias| |query_ifIP|\n":STACK \
GPRINT:cdefe:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Max\:%8.2lf %s\n" \
AREA:cdefi#4444FFFF:"|query_ifAlias| |query_ifIP|\n":STACK \
GPRINT:cdefi:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Max\:%8.2lf %s\n" \
COMMENT:" \n" \
LINE1:cdefbd#FF0000FF:"Total" \
GPRINT:cdefbd:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefbd:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefbd:MAX:"Max\:%8.2lf %s"

RRDTool Says:

ERROR: opening '/var/www/cacti/rra/xxx_traffic_in_33.rrd': No such file or directory

Post Reply