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
...
Does anyone know where I can look if the data query appears to work but still won't create graphs?
Tyler