Impossible to graph a Packetshaper

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

Moderators: Developers, Moderators

Post Reply
k4li
Posts: 5
Joined: Thu Oct 18, 2012 1:25 am

Impossible to graph a Packetshaper

Post by k4li »

Hello,

I want to graph a PacketShaper on my LAN. A first Packetshaper is already graphed today and everything works.
Now, on a second PacketShaper (the same appliance), I can't retrieve (with the same template) snmp informations.

Look,
I had these datas on the first PS :
Image
Everything works.

I created a new device and used the same template but I have no returned datas.
Image

I can only graph 2 interfaces (inside / outside) with Data query SNMP - Interface Statisitcs. But SNMP-Packetshaper Classes and SNMP-Packetshaper Partitions doesn't works.

When I run data query debug information on the first PS for "class traffic" :

Code: Select all

+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2334.2.1.4.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
On the new PS :

Code: Select all

+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2334.2.1.4.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/snmp_queries/packetshaper_classes.xml'
Only 3 results. Same thing with "partition traffic".

Before, when I clicked on "create graphs for this host" and selected the 3 PacketShaper templates
Image

And after Cacti asked me these informations :
Image

Maybe the problem is here ?

Thank you for your support
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Impossible to graph a Packetshaper

Post by gandalf »

It is weird for me, that you both associate a "classic" graph template AND a data query to your device. When using indexed data, only a data query is required. You then will select the index to be used and the graph to be selected from "Create Graphs for this Host".
R.
k4li
Posts: 5
Joined: Thu Oct 18, 2012 1:25 am

Re: Impossible to graph a Packetshaper

Post by k4li »

Ok,
but I don't understand when I click on "verbose query" from snmp-packetshaper classes / partitions" I have only 3 results instead too many on the other device.

Devices are the same. I have this problem since I imported a new packetshaper template but I use the older. :/
k4li
Posts: 5
Joined: Thu Oct 18, 2012 1:25 am

Re: Impossible to graph a Packetshaper

Post by k4li »

When you import a template (like this http://forums.cacti.net/download/file.php?id=10346), wich files are altered in Cacti ?

PHP files or only xml files ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Impossible to graph a Packetshaper

Post by gandalf »

Importing a "template" only does not change any file, only the templating tables. For a data query, you will need to MANUALLY ADD the data query XML file to e.g. the resource directory
R.
k4li
Posts: 5
Joined: Thu Oct 18, 2012 1:25 am

Re: Impossible to graph a Packetshaper

Post by k4li »

Ok,

I update this post because I have already the problem :/

I have two same device (not the same names) on my network. For one, data queries returns items and rows. For the second, I have nothing. OID are Ok in packetshaperclasses.xml and packetshaperpartitions.xml

If I create a new device like the one (with other name), I have no results... I don't understand why.
the devices uses the same host template.

Someone can help me ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Impossible to graph a Packetshaper

Post by gandalf »

This question is related to a custom resource related to the specific packetshaper device. So movin to Scripts and Templates forum. It is very likely, that the OP is required to answer
R.
k4li
Posts: 5
Joined: Thu Oct 18, 2012 1:25 am

Re: Impossible to graph a Packetshaper

Post by k4li »

Hi,

I installed the latest version of Cacti. Imported Packetshaper's template.

Data queries "SNMP - Interfaces statistics" works
Data queries "SNMP - Packetshaper classes" : error
Data Query Debug Information
+ Running data query [12].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/packetshaper_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
Data queries "SNMP - Packetshaper partitions" : error
Data Query Debug Information
+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/packetshaper_partitions.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.3.2.1.1' Index Count: 0
+ No SNMP data returned
+ Running data query [13].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/packetshaper_partitions.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.3.2.1.1' Index Count: 0
+ No SNMP data returned
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Re: Impossible to graph a Packetshaper

Post by chercen »

It seems Bluecoat has blocked access to class index starting from v.8.3:

http://bluecoat.force.com/knowledgebase ... 2334214211

:-( I suspect we can not graph PacketShaper classes any longer.........
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests