Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jun 15, 2019 10:30 pm

All times are UTC - 5 hours

Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: classes2.xml
PostPosted: Fri Aug 24, 2007 1:14 pm 

Joined: Fri Aug 24, 2007 1:10 pm
Posts: 17
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?


 Post subject: classes2.xml
PostPosted: Mon Aug 27, 2007 9:50 am 

Joined: Fri Aug 24, 2007 1:10 pm
Posts: 17
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 :(

 Post subject: Re: New templates
PostPosted: Mon Jun 04, 2012 10:31 pm 

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

 Post subject: Re: Packet Shaper Template
PostPosted: Tue May 01, 2018 2:58 pm 

Joined: Tue May 01, 2018 2:45 pm
Posts: 1
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.

File comment: For PacketShaper S200
packetshaper_classes.xml [2.34 KiB]
Downloaded 63 times
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 7 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group