Cisco T1 Controller Counters

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

Moderators: Developers, Moderators

siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Cisco T1 Controller Counters

Post by siouxee »

Has anyone successfully graphed Cisco T1 controller stats such as slip seconds, errored seconds, unavailable seconds, line code violations, path code violations, etc?

Any assistance would be greatly appreciated!
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

Anyone find a way to do this yet?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Find out how to pull the data from Cisco. Next, read in the documentation site how to create the scripts/templates.
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

I don't seen anything specific in the documentation on how to actually create the needed XML files. Where did I miss this step?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

OK, I've built the XML file and am starting to see some results when I run a verbose query against one of my hosts (see attached). It appears to be indexing the two T1 controllers and the requested statistic OIDs properly, but always appends "Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/snmp_queries/cisco_ds1.xml'" three times at the end of the query (see screen cap). Is this expected behavior or did I miss something in the XML file?

Also, if I run the verbose query and then "Create Graphs for this Host" everything looks about right except each column of stats is not in line with the corresponding controller index number (see screen cap). Is there something missing from the XML file that is causing everything to be put on seperate lines?

Sorry, this is my first crack at creating a template from scratch and any help would be appreciated! It looks I'm getting the stats I was looking for but need to get everything formatted properly so I can start generating the graphs.

Thanks in advance!
Attachments
Verbose query
Verbose query
cacti_ds1_stats_verbose_query_051309.JPG (114.34 KiB) Viewed 9275 times
Create graphs
Create graphs
cacti_ds1_stats_create_graphs_051309.JPG (64.81 KiB) Viewed 9275 times
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

Oh, here's the XML file I've been playing with.
Attachments
cisco_ds1.xml
(3.72 KiB) Downloaded 339 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Please post and snmpwalk of .1.3.6.1.2.1.10.18.9.1.1 and .1.3.6.1.2.1.10.18.9.1.2.

2) I assume you want to graph most of those data fields (Errored Seconds, Unavailable Seconds, etc). You need to change the direction field to OUTPUT. Look at \cacti\resource\snmp_queries\interface.xml for an example.
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

OK, I've changed the direction field to "output" (see attached screen cap). Are the DS1 indexes the only items that should be listed when I do a verbose query and/or create graphs for the host? I just want to make sure I'm on the right track. I had set them to "output" before per the docs but I guess I was expecting to see more than just the DS1 indexes by themselves.

Yes, I want to graph ALL of the stats listed in the original screen cap.

Here's the snmpwalk:

-----------

c:\snmpwalk -v 2c -c blahblah 10.4.10.100 1.3.6.1.2.1.10.18.9.1

SNMPv2-SMI::transmission.18.9.1.1.11 = INTEGER: 11
SNMPv2-SMI::transmission.18.9.1.1.12 = INTEGER: 12
SNMPv2-SMI::transmission.18.9.1.2.11 = Gauge32: 2504
SNMPv2-SMI::transmission.18.9.1.2.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.3.11 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.3.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.4.11 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.4.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.5.11 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.5.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.6.11 = Gauge32: 2503
SNMPv2-SMI::transmission.18.9.1.6.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.7.11 = Gauge32: 3
SNMPv2-SMI::transmission.18.9.1.7.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.8.11 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.8.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.9.11 = Gauge32: 1
SNMPv2-SMI::transmission.18.9.1.9.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.10.11 = Gauge32: 1
SNMPv2-SMI::transmission.18.9.1.10.12 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.11.11 = Gauge32: 0
SNMPv2-SMI::transmission.18.9.1.11.12 = Gauge32: 0

-----------

Here's the list of OIDs I'm trying to query/graph (the ".x" equals the index number of the applicable controller, in this example ".11" and ".12"):

DS1 Controller Index = 1.3.6.1.2.1.10.18.9.1.1
ES = Errored Seconds (1.3.6.1.2.1.10.18.9.1.2.x)
SES = Severely Errored Seconds (1.3.6.1.2.1.10.18.9.1.3.x)
SEFS = Severely Errored Framing Seconds (1.3.6.1.2.1.10.18.9.1.4.x)
UAS = Unavailable Seconds (1.3.6.1.2.1.10.18.9.1.5.x)
CSS = Controlled Slip Seconds (1.3.6.1.2.1.10.18.9.1.6.x)
PCV = Path Code Violations (1.3.6.1.2.1.10.18.9.1.7.x)
LES = Line Errored Seconds (1.3.6.1.2.1.10.18.9.1.8.x)
BES = Bursty Errored Seconds (1.3.6.1.2.1.10.18.9.1.9.x)
DM = Degraded Minutes (1.3.6.1.2.1.10.18.9.1.10.x)
LCV = Line Code Violations (1.3.6.1.2.1.10.18.9.1.11.x)
Attachments
cacti_ds1_stats_verbose_query_051309-2.JPG
cacti_ds1_stats_verbose_query_051309-2.JPG (33.24 KiB) Viewed 9251 times
cacti_ds1_create_graphs_051309-2.JPG
cacti_ds1_create_graphs_051309-2.JPG (14.52 KiB) Viewed 9251 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Great, you fixed the index / directions stuff. That verbose query in cacti looks correct now. Did you build the data/graph templates yet? Associate them to the Data Query you also created, per the guides?
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

I'm really close to getting this working. I've built the data/graph templates and everything looks good when I add them to the host. But, I'm not getting any data in the graphs and am getting the attached error about the *.rrd file not existing.

I also noticed that my other *.rrd files for this same host do not have dashes (for example: lkcld08ar01_traffic_in_1996.rrd versus lkc-ld-08-ar01_dsx1totalbess_2442.rrd). Is this a formatting error on my part?

Any idea as to what I'm missing?
Attachments
cacti_ds1_stats_graph_error_051409.JPG
cacti_ds1_stats_graph_error_051409.JPG (82.89 KiB) Viewed 9169 times
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

Figured out part of the problem with no graphs, forgot to check the box for the associated data template under the data queries config. Now, I get graphs but they all show a current value of "-1".

What am I missing?
Attachments
cacti_graph_051509.JPG
cacti_graph_051509.JPG (111.86 KiB) Viewed 9147 times
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

Here's what one of my data templates look like. Did I miss something? All other settings below Index Type are not checked or filled in with any values.
Attachments
cacti_data_template_051509.JPG
cacti_data_template_051509.JPG (115.79 KiB) Viewed 9145 times
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

Here's what the associated graph template looks like...
Attachments
cacti_graph_template_051509-2.JPG
cacti_graph_template_051509-2.JPG (123.23 KiB) Viewed 9143 times
cacti_graph_template_051509-1.JPG
cacti_graph_template_051509-1.JPG (35.82 KiB) Viewed 9143 times
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

And, here are the errors in the Cacti system log and the corresponding data source debug... Any suggestions? I really don't see what is broken here. :o
Attachments
cacti_data_source_debug_051509.JPG
cacti_data_source_debug_051509.JPG (89.85 KiB) Viewed 9141 times
cacti_log_051509.JPG
cacti_log_051509.JPG (49.79 KiB) Viewed 9141 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest