Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jun 25, 2019 5:29 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Aggregation of 2,3, and 4 sources
PostPosted: Fri Nov 18, 2005 12:58 pm 
Offline

Joined: Thu Mar 10, 2005 11:02 am
Posts: 31
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:
File comment: 4 Source Aggregate Inbound Internet Sample Graph
4sourceagg.png
4sourceagg.png [ 43.76 KiB | Viewed 29081 times ]
File comment: 2 Sources
cacti_graph_template_aggregate_2_sources.xml [17.78 KiB]
Downloaded 3677 times
File comment: 3 Sources
cacti_graph_template_aggregate_3_sources.xml [20.71 KiB]
Downloaded 2379 times
File comment: 4 Sources
cacti_graph_template_aggregate_4_sources.xml [24.21 KiB]
Downloaded 2951 times
Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 19, 2006 4:38 pm 
Offline

Joined: Mon Nov 21, 2005 5:25 pm
Posts: 9
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.


Top
 Profile  
 
 Post subject: howto
PostPosted: Wed Jan 03, 2007 1:23 am 
Offline
Cacti User

Joined: Fri Aug 22, 2003 4:33 am
Posts: 83
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...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 03, 2007 6:13 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Please see http://forums.cacti.net/viewtopic.php?t=5703
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 9:29 am 
Offline

Joined: Tue Mar 17, 2009 9:15 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group