Cisco WS-C6509-E CatoOS traffic statistics (bits/sec)

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

Post Reply
lulyis
Posts: 2
Joined: Tue May 06, 2014 8:41 am

Cisco WS-C6509-E CatoOS traffic statistics (bits/sec)

Post by lulyis »

I spent a time trying to create traffic statistics for this model and I finally got . When I was trying I couldn't find any information or script that was working so, I would like to share how to get traffic statistics for Cisco Catalyst W6500 E.

1 - Validate that dataquery is working. Go to Devices, and run "verbose query" on dataquery "SNMP - Interface Statistics". If it is, go to the next step.

2 - Create a graphic template to traffic graphic.
2.1 Add a New graphic template:

Name: Interface CatOS Traffic (bits/sec)
title: |host_hostname| - Traffic - |query_ifName|
Upper limit: 100
Base value: 1000
Vertical label: bits/sec

Press the button "CREATE". After, go in "Graph Template Items [edit: Interface CatOS Traffic (bits/sec)]",

2.1.1 Add graph item:

Data source: Select "Interface - Traffic - (traffic_in)"
Color: Select any color
Graph Item Type: "AREA"
Consolidation Function: "AVERAGE"

CDEF Function: "Turn Bytes into Bits" // -------> here is the mistery. The CatOS on Cisco 6500 E is a octets count, so, the value that you are getting from the equipment is 1 byte and you have to convert this in bits on graphic template //

Text Format: "IN"

Press the button "CREATE"

2.1.2 After, Add a new graph item:

Data source: Select "Interface - Traffic - (traffic_in)"
Graph Item Type: "LEGEND"
Consolidation Function: "AVERAGE"

CDEF Function: "Turn Bytes into Bits"

Press the button "CREATE"

2.2 Repeat the steps 2.1.1 and 2.1.2 for the data source "Interface - Traffic - (traffic_out)"

3 - Go to Dataquery Menu, and select "SNMP - Interface Statistics" dataquery.
3.1 Click on Add" a Add a New Associated Graph Templates

Name: "In/Out Bits CatOS (64-bit Counters)"
Graph Template: "Interface CatOS Traffic (bits/sec)"

On Data Source:, select : ifHCInOctets (Bytes In - 64-bit Counters) and check the box in the end of the line on the right side.
On Data Source:, select : ifHCOutOctets (Bytes Out - 64-bit Counters) and check the box in the end of the line on the right side.

On suggested values, fill:

"|host_description| - Traffic - |query_ifName|" Field name: "name"

"|host_description| - Traffic - |query_ifName|" Field name: "title"

Press the button SAVE.

4 - Go to devices and create a graphic for the device selecting the interfaces and "Select a graph type:" In/Out Bits CatOS (64-bit Counters) .

Go to devices and create a graphic for the device selecting "Select a graph type:" In/Out Bits CatOS (64-bit Counters) .

5 -After, you have to validate if the graph is working as you expected.


I hope to have helped anyone.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests