Graph Name Substitution not correct - No RRD as well

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
Viggy
Posts: 23
Joined: Fri Sep 16, 2005 5:15 pm
Location: MI, USA

Graph Name Substitution not correct - No RRD as well

Post by Viggy »

I am running Cacti v 0.8.6.h on a Windows 2000 server
I have patched my system
I am running the following plugins as well
thrshld
monitor
cycle

I am having a problem with the CBWFQ script by MoonMan. But I believe the problem may be with Cacti and not the script.

Let me first say I have this script running fine on about twelve 2600 and 3800s. It is generating graphs and everything is happy.

I even edited the scripts to support having a ":" in the interface name such as "se0/0/0:23"

Now my problem is that my script will not execute properly against a 7200 series Cisco router.

All appears happy when I add the Data query, below is my verbose output:


+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/script_queries/cbwfq.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'perl C:\Apache2\htdocs\cacti\scripts\cbwfq.pl 172.30.0.17 <removed> index'
+ Executing script query 'perl C:\Apache2\htdocs\cacti\scripts\cbwfq.pl 172.30.0.17 <removed> query class'
+ Found item [class='class-default-VoIP-Serial3/0'] index: 1049.1051
+ Found item [class='VoIP-RTP-VoIP-Serial3/0'] index: 1049.1129
+ Found item [class='VoIP-Sig-VoIP-Serial3/0'] index: 1049.1277
+ Found item [class='class-default-VoIP-Serial4/0'] index: 1057.1059
+ Found item [class='VoIP-RTP-VoIP-Serial4/0'] index: 1057.1137
+ Found item [class='VoIP-Sig-VoIP-Serial4/0'] index: 1057.1287
+ Found item [class='class-default-VoIP-Serial4/1'] index: 1065.1067
+ Found item [class='VoIP-RTP-VoIP-Serial4/1'] index: 1065.1145
+ Found item [class='VoIP-Sig-VoIP-Serial4/1'] index: 1065.1297
+ Found item [class='class-default-VoIP-Serial4/2'] index: 1073.1075
+ Found item [class='VoIP-RTP-VoIP-Serial4/2'] index: 1073.1153
+ Found item [class='VoIP-Sig-VoIP-Serial4/2'] index: 1073.1307
+ Found item [class='class-default-VoIP-Serial4/3'] index: 1081.1083
+ Found item [class='VoIP-RTP-VoIP-Serial4/3'] index: 1081.1161
+ Found item [class='VoIP-Sig-VoIP-Serial4/3'] index: 1081.1317
+ Found item [class='class-default-VoIP-Serial4/4'] index: 1089.1091
+ Found item [class='VoIP-RTP-VoIP-Serial4/4'] index: 1089.1169
+ Found item [class='VoIP-Sig-VoIP-Serial4/4'] index: 1089.1327
+ Found item [class='class-default-VoIP-Serial4/5'] index: 1097.1099
+ Found item [class='VoIP-RTP-VoIP-Serial4/5'] index: 1097.1177
+ Found item [class='VoIP-Sig-VoIP-Serial4/5'] index: 1097.1337
+ Found item [class='class-default-VoIP-Serial4/6'] index: 1105.1107
+ Found item [class='VoIP-RTP-VoIP-Serial4/6'] index: 1105.1185
+ Found item [class='VoIP-Sig-VoIP-Serial4/6'] index: 1105.1347
+ Found item [class='class-default-VoIP-Serial4/7'] index: 1113.1115
+ Found item [class='VoIP-RTP-VoIP-Serial4/7'] index: 1113.1193
+ Found item [class='VoIP-Sig-VoIP-Serial4/7'] index: 1113.1357
+ Found item [class='VoIP-RTP-voice-Tunnel2'] index: 1461.1465
+ Found item [class='VoIP-Sig-voice-Tunnel2'] index: 1461.1471
+ Found item [class='class-default-voice-Tunnel2'] index: 1461.1477
+ Found item [class='class-default-voice-Tunnel2'] index: 1461.1481
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/script_queries/cbwfq.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/script_queries/cbwfq.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/script_queries/cbwfq.xml'

It returns 31 items in 31 rows.


But when I try to create a Graph I get the folllowing:

+ Created graph: MSN - Bytes - |query_class|

It fails to pull the class correctly when trying to create the graph.

Also the RRD file is not created.

I have run the OIDs and the CBWFQ.pl script at the command line and everything seems to work.

Any body seen this before? I have been ripping my hair out for the past three days on this one.
skrishna
Posts: 1
Joined: Tue Apr 03, 2007 3:38 am

cbwfq.pl and |query_class| issue

Post by skrishna »

I am having exactly the same problem/issue, have you found the solution?

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

Post by gandalf »

Please attach your question to the original post. Perhaps the author has a solution
Reinhard
User avatar
Viggy
Posts: 23
Joined: Fri Sep 16, 2005 5:15 pm
Location: MI, USA

Solution

Post by Viggy »

I switched to Linux as the platform and use the CBQ script by Raddy

I discovered that different scripts seemed to work better on differnt platforms and different versions of the IOS

Raddy's version of the script has been the most consistent for me of late.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest