|
|
| Author |
Message |
ashfieldm
Joined: 11 Oct 2005 Posts: 25
|
Posted: Thu Jan 24, 2008 7:35 am Post subject: |
|
|
| Is there any way to capture the CPU Percent Idle times of a Packetshaper? |
|
| Back to top |
|
 |
rmrf
Joined: 03 Mar 2008 Posts: 5
|
Posted: Fri Mar 07, 2008 1:59 pm Post subject: |
|
|
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 Cacti User
Joined: 06 Nov 2007 Posts: 55
|
Posted: Mon May 12, 2008 9:56 am Post subject: |
|
|
| 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: 57 Location: Kingsport TN
|
Posted: Fri Aug 29, 2008 2:49 pm Post subject: |
|
|
| 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
|
Posted: Tue Sep 02, 2008 10:37 pm Post subject: |
|
|
| 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
|
Posted: Wed Sep 03, 2008 10:33 am Post subject: |
|
|
| 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 |
|
 |
MU-IT Cacti User
Joined: 06 Nov 2007 Posts: 55
|
Posted: Tue Oct 21, 2008 2:01 pm Post subject: |
|
|
| zgamer wrote: | | 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 |
so please pardon my ignorance... what has to be done in cacti to reflect this change?
I've found the OIDs i need to change it to, and verified them, but what do i change/replace?
thanks. |
|
| Back to top |
|
 |
|