Cisco QoS CBWFQ Template Help

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

Moderators: Developers, Moderators

Post Reply
furgussen
Posts: 2
Joined: Fri Mar 11, 2016 2:33 pm

Cisco QoS CBWFQ Template Help

Post by furgussen »

Hello All,

I've been searching for a way to graph QoS queues on Cisco routers. I'm so close with the template in this thread (http://forums.cacti.net/viewtopic.php?f=12&t=24935) but it still doesn't work. I've tried other QoS templates found in this forum and online but I'm closest with this one.

When I go to create the graphs, the data query says it returned zero rows. However when I run the query in debug mode it looks like it gets all the right data:

Code: Select all

+ Running data query [16].
+ Found type = '4' [Script Query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/cisco-qos-64.xml'
+ XML file parsed ok.
+ Executing script for num of indexes '/bin/php /var/www/html/cacti/scripts/cisco-qos-64.php 192.168.255.99 "3::User::Pass::SHA::Pass::AES128::::161::500" num_indexes'
+ Found number of indexes: 4
+ Executing script for list of indexes '/bin/php /var/www/html/cacti/scripts/cisco-qos-64.php 192.168.255.99 "3::User::Pass::SHA::Pass::AES128::::161::500" index' Index Count: 4
+ Found index: 34.3292065
+ Found index: 34.3696257
+ Found index: 34.8705233
+ Found index: 34.14664689
+ Executing script query '/bin/php /var/www/html/cacti/scripts/cisco-qos-64.php 192.168.255.99 "3::User::Pass::SHA::Pass::AES128::::161::500" query index'
+ Found item [index='34.3292065'] index: 34.3292065
+ Found item [index='34.3696257'] index: 34.3696257
+ Found item [index='34.8705233'] index: 34.8705233
+ Found item [index='34.14664689'] index: 34.14664689
+ Executing script query '/bin/php /var/www/html/cacti/scripts/cisco-qos-64.php 192.168.255.99 "3::User::Pass::SHA::Pass::AES128::::161::500" query status'
+ Found item [status='Up'] index: 34.3292065
+ Found item [status='Up'] index: 34.3696257
+ Found item [status='Up'] index: 34.8705233
+ Found item [status='Up'] index: 34.14664689
+ Executing script query '/bin/php /var/www/html/cacti/scripts/cisco-qos-64.php 192.168.255.99 "3::User::Pass::SHA::Pass::AES128::::161::500" query name'
+ Found item [name='Fa0/1'] index: 34.3292065
+ Found item [name='Fa0/1'] index: 34.3696257
+ Found item [name='Fa0/1'] index: 34.8705233
+ Found item [name='Fa0/1'] index: 34.14664689

...
I'm running Cacti 0.8.8g on CentOS 7.

Does anyone know where I can look if the data query appears to work but still won't create graphs?

Tyler
furgussen
Posts: 2
Joined: Fri Mar 11, 2016 2:33 pm

Re: Cisco QoS CBWFQ Template Help

Post by furgussen »

So I managed to get it working (downgraded to Cacti 0.8.8a), but the graphs are not accurate. They spike every few hours up to a few hundred Mbps (they are only 5 Mbps links). It looks like the OID's in the script are correct. So I think this QoS template is dead like all the others I've found.

Does anyone have a proper QoS template that works with current hardware? All the templates I found are from 2005-2007. I'm running newer ISR's with IOS 15.

Does anyone have a QoS template that works with that hardware?

Tyler
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest