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: 45

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
eternal
Cacti User


Joined: 14 Dec 2006
Posts: 56
Location: Kingsport TN

PostPosted: Fri Aug 29, 2008 2:49 pm    Post subject: Reply with quote

MU-IT wrote:
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?


Ditto here
Back to top
zgamer



Joined: 23 Sep 2006
Posts: 44
Location: WI, USA

PostPosted: Tue Sep 02, 2008 10:37 pm    Post subject: Reply with quote

eternal wrote:
MU-IT wrote:
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?


Ditto here


The problem is a version mis-match. The version you are running is newer than that of the xml file being provided. As stated earlier, hack the xml to work or run the older version....I would lean towards hack it to work.
Back to top
zgamer



Joined: 23 Sep 2006
Posts: 44
Location: WI, USA

PostPosted: Wed Sep 03, 2008 10:33 am    Post subject: Reply with quote

The packetshaper_classes.xml oid_index changes somewhere in the 8.x code-base for the shapers, the new oid is .1.3.6.1.4.1.2334.2.1.4.1
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