Information on how to graph McData switchs in Cacti

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

Moderators: Developers, Moderators

Post Reply
Austar

Information on how to graph McData switchs in Cacti

Post by Austar »

snmpwalk -v <version> -c <community> <node name> <oid_value>

Index Value
.1.3.6.1.4.1.289.2.1.1.2.3.1.1.1

Description
.1.3.6.1.4.1.289.2.1.1.2.3.1.1.152

The Bps (bytes per second) transmission rate of the port.
.1.3.6.1.4.1.289.2.1.1.2.3.1.1.24

The Bps (bytes per second) reception rate of the port.
.1.3.6.1.4.1.289.2.1.1.2.3.1.1.25

We are currently looking at ways to graphs octet usage, if anyone has done I love to know how.

I have uploaded all the templates we use for this, I have to had the graph template in another post.
Attachments
mcdata_switch_interface.xml
save this as resource/snmp_queries/mcdata_switch_interface.xml
(1.48 KiB) Downloaded 1259 times
cacti_data_query_snmp_mcdata_interface_stats.xml
(11.82 KiB) Downloaded 1136 times
cacti_data_template_snmp_mcdata_interface_stats.xml
(7.14 KiB) Downloaded 1419 times
Austar

Graph template for the McData switch

Post by Austar »

Graph template for the McData switch
Attachments
cacti_graph_template_snmp_mcdata_interface_stats.xml
(10.16 KiB) Downloaded 1207 times
Austar

McData SNMP Reference Manual

Post by Austar »

Please refer to the

McDATA SNMP Support Manual P/N 620-000131-610 REV A
http://mcdata.com/downloads/tpub/other/ ... EOS_60.pdf

for more OID's
someonesomewhere

Port descriptions?

Post by someonesomewhere »

Thanks Austar, I'm using these templates for McData 6064, 3016, and 4500 switches. I've one problem, the port description is not being substituted into the |query_hrPortDescr| field and I assume it should be. I just installed Cacti 0.8.6c, what version are you running? Not sure if it is a change in Cacti that is causing the behaviour or something different. Any ideas? Thanks.
pblack
Posts: 3
Joined: Fri Jan 21, 2005 1:57 pm

Post by pblack »

"I've one problem, the port description is not being substituted into the |query_hrPortDescr| field and I assume it should be."

Any resolution to this? I would be happy with the port ID - I changed the mcdata_switch_inteeface.xml to:

<hrPortDesc>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.289.2.1.1.2.3.1.1.1</oid>
</hrPortDesc>

in an attempt to poulate the field with the port number.

What's next.

Thanks!
pblack
Posts: 3
Joined: Fri Jan 21, 2005 1:57 pm

Post by pblack »

Got my graph labels populating satisfactorily.

In Graph Templates, open McData Interface Stats. Under Graph template, change the Title from "|host_description| - Switch Port |query_hrPortDescr|" to "|host_description| - Switch Port |query_hrPortIndex|". Keep in mind that the ports are numbered starting at 0. You will need to remember to subtract 1 from the port number to ensure you are monitoring the correct port.
algorithm
Posts: 1
Joined: Fri Aug 12, 2005 1:57 pm

Mcdata graph issues

Post by algorithm »

I have starting using the templates two days ago, and this is my third day with cacti and graphs in general. It seems like the the graphs go to a peak level and drop 0, like a counter being reset. Please provide an idea, so I can use a consistent graphs for actual amounts of data transfered thru the interface.

Thanks
montjoy
Posts: 5
Joined: Wed Sep 07, 2005 11:37 am

Post by montjoy »

I updated the graph template to show Current/Average/Max values and a vertical label for bytes/sec.
Attachments
cacti_graph_template_snmp_mcdata_interface_stats.xml
Graph template
(13.47 KiB) Downloaded 1151 times
example.jpg
example.jpg (49.65 KiB) Viewed 16300 times
truelovej
Posts: 8
Joined: Tue Mar 14, 2006 3:45 pm

Port descriptions

Post by truelovej »

If you are still having problems getting the port descriptions, change
the mcdata_switch_interface.xml to the following

<hrPortDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.289.2.1.1.2.3.1.1.152</oid>
</hrPortDescr>
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: Port descriptions

Post by fmangeant »

truelovej wrote:If you are still having problems getting the port descriptions, change
the mcdata_switch_interface.xml to the following
Thanks, that works ! :D
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
matibut14
Posts: 8
Joined: Wed Nov 22, 2006 10:28 am

Post by matibut14 »

You can add the following lines in the snmp_queries file (below <oid_index>) :

<index_order>hrPortIndex:hrPortDescr</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
matibut14
Posts: 8
Joined: Wed Nov 22, 2006 10:28 am

Post by matibut14 »

I suggest to look at the following topic:
http://forums.cacti.net/viewtopic.php?t ... ght=mcdata

It is using the Fiber Alliance MIB so it should works with all SAN switches.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests