Cisco Class Map Statistics

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

Moderators: Moderators, Developers

Post Reply
Author
Message
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Cisco Class Map Statistics

#1 Post by Instigater » Tue Nov 08, 2005 3:52 am

Right now packet count, all bitrates and just drop bit rate. Data input method supports all OIDs:
Information at Cisco

Note! Heavy CPU usage. Must be optimized to support many graphs.

Put cisco_qos_class_uni.xml in resource/script_queries,
query_cisco_qos_uni.pl in scripts

NB! Template is for 1 minute polling interval. Adjustment must be made to run on default Cacti setup.
Attachments
bitrates.jpg
bitrates.jpg (84.51 KiB) Viewed 21105 times
packets.jpg
packets.jpg (91.07 KiB) Viewed 21105 times
Cisco - CM.rar
(6.43 KiB) Downloaded 2513 times

Faruk
Posts: 10
Joined: Tue Apr 04, 2006 8:20 am

Need Help : "Error parsing XML file into an array"

#2 Post by Faruk » Tue Apr 04, 2006 8:28 am

Hi,

Xml files are loaded ok. But when add the graph in Assotiated Graph Template from Edit/New Host in verbose mode the following is shown :

+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/www/htdocs/cacti/resource/script_queries/cisco_qos_class_uni.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/www/htdocs/cacti/resource/script_queries/cisco_qos_class_uni.xml'


Also, let me know the changes for default cacti [ 300 sec ] polling.

Faruk

Post Reply