Packet Shaper Template

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

Moderators: Developers, Moderators

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

classes2.xml

Post by gjames »

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?

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

classes2.xml

Post by gjames »

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 :(
ryanherdian
Posts: 8
Joined: Wed Feb 20, 2008 9:13 pm

Re: New templates

Post by ryanherdian »

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 @ '.1.3.6.1.4.1.2334.2.1.4.2.1.1' Index Count: 0
+ No SNMP data returned

thanks for your kind help..
Otter
Posts: 1
Joined: Tue May 01, 2018 2:45 pm

Re: Packet Shaper Template

Post by Otter »

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.
Attachments
packetshaper_classes.xml
For PacketShaper S200
(2.34 KiB) Downloaded 167 times
areast
Cacti User
Posts: 105
Joined: Wed Oct 29, 2014 5:08 am

Re: Packet Shaper Template

Post by areast »

Does anyone have the template for Packet Shaper S400?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests