Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Packetshaper templates
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ashfieldm



Joined: 11 Oct 2005
Posts: 25

PostPosted: Thu Jan 24, 2008 7:35 am    Post subject: Reply with quote

Is there any way to capture the CPU Percent Idle times of a Packetshaper?
Back to top
rmrf



Joined: 03 Mar 2008
Posts: 5

PostPosted: Fri Mar 07, 2008 1:59 pm    Post subject: Reply with quote

I installed the templates/xml files but I get the following error when trying to create the classes graph

I'm running the software version 6.1.1 on the packeteer and cacti version 0.8.7b

I do get interface statistics from the packeteer,

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Inbound Traffic Analysis" \
--base=1000 \
--height=350 \
--width=750 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/packeteer_class_traffic_471.rrd":class_traffic:AVERAGE \
CDEF:cdefd=a,8,* \
COMMENT:"Note\: This is just a sub-portion of the data. This graph only represents the top few\n" \
COMMENT:"classes that the packetshaper recognizes.\n" \
COMMENT:"\n" \
AREA:cdefd#623465FF:"|query_psClassFullName|" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#00CF00FF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#FFF200FF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#FF00FFFF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#F51D30FF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#EA8F00FF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#8D00BAFF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n" \
AREA:cdefd#0000FFFF:"|query_psClassFullName|":STACK \
GPRINT:cdefd:LAST:"Current\:%8.2lf %S" \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %S" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %S" \
COMMENT:"Total In\: 0 bytes\n"

RRDTool Says:

ERROR: opening '/var/www/html/cacti/rra/packeteer_class_traffic_471.rrd': No such file or directory
Back to top
MU-IT



Joined: 06 Nov 2007
Posts: 39

PostPosted: Mon May 12, 2008 9:56 am    Post subject: Reply with quote

rmrf wrote:
I installed the templates/xml files but I get the following error when trying to create the classes graph


me too. Anyone have any ideas?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group