Packet Shaper Template

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

Moderators: Moderators, Developers

Posts: 17
Joined: Fri Aug 24, 2007 1:10 pm


#16 Post by gjames » Fri Aug 24, 2007 1:14 pm

I have imported the templates as described and added Associated Data Queries dataqueryshaper2. When I click on the verbose query I get
+ Could not find data query XML file at '/var/www/cacti/resource/snmp_queries/classes2.xml'
+ Error parsing XML file into an array.

I cant find the needed classes2.xml arywhere. What am I missing?


Posts: 17
Joined: Fri Aug 24, 2007 1:10 pm


#17 Post by gjames » Mon Aug 27, 2007 9:50 am

I just copied classes.xml to classes2.xml and it seems to work..... :D
I now have top classes but no class or partition traffic selections :(

Posts: 8
Joined: Wed Feb 20, 2008 9:13 pm

Re: New templates

#18 Post by ryanherdian » Mon Jun 04, 2012 10:31 pm

anuraganuj wrote:Please try these templates which have some other infiormation also.

hi, i'm using host template from noremlas and the rest template from you. but still i can't generate the graph and i don't know why :(

can anyone help me? here is some data for you to help me

graph management debug:
RRDTool Command:

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Packet Shaper VSAT - Traffic - |query_className| (|query_classFullName|)" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="Bits per Second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/54/1106.rrd":"peakdatasrc":MAX \
DEF:b="C\:/Apache2/htdocs/cacti/rra/54/1106.rrd":"currentdatasrc":MAX \
DEF:c="C\:/Apache2/htdocs/cacti/rra/54/1106.rrd":"currentdatasrc":LAST \
LINE2:a#0000FFFF:"Peak Rate\:" \
GPRINT:a:MAX:" %8.2lf %s\n" \
GPRINT:b:MAX:"Valor Maxim%8.2lf %s" \
GPRINT:b:AVERAGE:"Mitjana%8.2lf %s\n" \
AREA:c#00FF00FF:"Current Rate\:" \
GPRINT:c:LAST:"%8.2lf %s\n" RRDTool Says:

data query debug information
+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/classes.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.' Index Count: 0
+ No SNMP data returned

thanks for your kind help..

Posts: 1
Joined: Tue May 01, 2018 2:45 pm

Re: Packet Shaper Template

#19 Post by Otter » Tue May 01, 2018 2:58 pm

Cacti can now also be used to graph PacketShaper S200 classes (and perhaps other S series models), using the attached .xml file.
At least with Linux Cacti 1.1.7, this .xml file should be placed at /usr/share/cacti/resource/snmp_queries.
For PacketShaper S200
(2.34 KiB) Downloaded 83 times

Cacti User
Posts: 105
Joined: Wed Oct 29, 2014 5:08 am

Re: Packet Shaper Template

#20 Post by areast » Thu Jul 11, 2019 2:49 am

Does anyone have the template for Packet Shaper S400?

Post Reply