Brocade Fibre Channel templates.

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

Moderators: Developers, Moderators

Post Reply
ame
Cacti User
Posts: 77
Joined: Fri Nov 25, 2005 6:15 am

Post by ame »

switch to 1min polling for your FC switches, then you will get better results

Alex
elcody02
Posts: 8
Joined: Tue Aug 23, 2005 8:06 am
Contact:

Updated templates

Post by elcody02 »

I've updated the posted template with the following changes:
1. Updateinterval 1minute
2. Split the graphs into two. One for displaying frames and one for the traffic.
3. Traffic is displayed in bytes/sec not in words/sec
4. Remove max values in data sources.
Feel free using it.
Attachments
cacti_host_template_brocade_fc_switch2.xml
This is the cacti export. Done with cacti-0.8.7b
(269.9 KiB) Downloaded 2716 times
User avatar
Khan
Posts: 48
Joined: Mon Nov 03, 2003 11:08 am
Location: Madtown, WI

Re: Updated templates

Post by Khan »

elcody02 wrote:I've updated the posted template with the following changes:
4. Remove max values in data sources.
While I like most of the changes, my SAN administrator has requested the option for the max values. How do I re-enable this in the graphs?
stotch
Posts: 2
Joined: Wed Jan 14, 2009 10:13 pm
Location: Oakland, CA

Re: port numbers?

Post by stotch »

boydbria wrote:Forgive me but I'm a total cacti newb.
I can't seem to get the port numbers on my brocades to display properly.
I followed the directions earlier in this thread.
For example
I'm seeing ports 1-16, 1-32
when i should see 0-15, 0-31
I believe that this is a limitation in Cacti. I know, it's annoying. The "index_order_type" can only be specified as numeric or alphabetic and numeric simply starts numbering at 1. Someone jump in an correct me if I am wrong about this.

--Brendan
Rroet
Posts: 4
Joined: Sat Feb 12, 2005 4:58 pm
Location: The Hague
Contact:

HP Storageworks San Switch 2/16

Post by Rroet »

Hi,

Wonderful templates. They work great on the HP Storageworks San Switch 2/32 we have. Including snmp interface statistics for the weathermaps, but I can't seem to get any snmp interface statistics for the Storageworks 2/16 switches we have.

These are the type NA2107. These are HP rebranded Brocade switches 2gbit 16 ports. When I look at creating snmp interface statistic graphs, I only get to see the ethernet port (fei0) and the loopback port (lo0) but none of the fiberchannel ports.

Is this a lack in snmp functionality on the switch devices, or are there different MIBs to adress for these switches?

When I do a verbose query on the snmp interfaces I get this result only: (attached file)
Attachments
snmp_interface_verbose_query.txt
(2.33 KiB) Downloaded 793 times
Life on earth is expensive, but it does include a free trip arround the sun :)
X505
Posts: 39
Joined: Fri Jun 29, 2007 3:53 pm
Contact:

Re: HP Storageworks San Switch 2/16

Post by X505 »

Rroet wrote:Hi,

Wonderful templates. They work great on the HP Storageworks San Switch 2/32 we have. Including snmp interface statistics for the weathermaps, but I can't seem to get any snmp interface statistics for the Storageworks 2/16 switches we have.

These are the type NA2107. These are HP rebranded Brocade switches 2gbit 16 ports. When I look at creating snmp interface statistic graphs, I only get to see the ethernet port (fei0) and the loopback port (lo0) but none of the fiberchannel ports.

Is this a lack in snmp functionality on the switch devices, or are there different MIBs to adress for these switches?

When I do a verbose query on the snmp interfaces I get this result only: (attached file)
I may be in the same case, are you in "gateway mode" ?
Attachments
GW.jpg
GW.jpg (3.61 KiB) Viewed 16594 times
Rroet
Posts: 4
Joined: Sat Feb 12, 2005 4:58 pm
Location: The Hague
Contact:

Post by Rroet »

Hi,

I can't seem to find the option you put up in the picture. What fabric os version are you running on your 2/16? The san guy here has Fabric OS version 3.2.1c installed.

The other switches seem to have a newer version fabric os, and they do have this option. Which is set to disable btw. And on these switches I have no problems monitoring them.


Rroet
Life on earth is expensive, but it does include a free trip arround the sun :)
skm
Posts: 2
Joined: Mon Feb 23, 2009 6:43 pm

Brocade templates

Post by skm »

Do these templates work for Cacti Version 0.8.7d ?

Thanks,
skm
skm
Posts: 2
Joined: Mon Feb 23, 2009 6:43 pm

Brocade templates

Post by skm »

Hello List,

The template attached in the thread "Brocade template and scripts" for 0.8.6c didn't work for me. I have installed the current version 0.8.7.

Is there a new template? do I need to make any changes before importing it from UI?

Please advice.
Thanks,
skm
tomer
Posts: 7
Joined: Tue Aug 26, 2008 7:41 am

Re: port numbers?

Post by tomer »

stotch wrote:
boydbria wrote:Forgive me but I'm a total cacti newb.
I can't seem to get the port numbers on my brocades to display properly.
I followed the directions earlier in this thread.
For example
I'm seeing ports 1-16, 1-32
when i should see 0-15, 0-31
I also think that it is a limittation of cacti that an interface index can't start with 0. On the other hand I think that it would be usefull to have the correct Port in the Graph (as example FC Port 0/0). The correct Port information is visible under the OID .1.3.6.1.2.1.2.2.1.2

Code: Select all

[root@esmcpfs001 snmp_queries]# snmpwalk -v 1 -c public .1.3.6.1.2.1.2.2.1.2
snmpwalk: Unknown host (.1.3.6.1.2.1.2.2.1.2) (No such file or directory)
[root@esmcpfs001 snmp_queries]# snmpwalk -v 1 -c public ehtmes01 .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.805306369 = STRING: eth0
IF-MIB::ifDescr.805306370 = STRING: lo
IF-MIB::ifDescr.805306371 = STRING: sit0
IF-MIB::ifDescr.805306372 = STRING: fc0
IF-MIB::ifDescr.1073741824 = STRING: FC port 0/0
IF-MIB::ifDescr.1073741825 = STRING: FC port 0/1
IF-MIB::ifDescr.1073741826 = STRING: FC port 0/2
IF-MIB::ifDescr.1073741827 = STRING: FC port 0/3
IF-MIB::ifDescr.1073741828 = STRING: FC port 0/4
IF-MIB::ifDescr.1073741829 = STRING: FC port 0/5
IF-MIB::ifDescr.1073741830 = STRING: FC port 0/6
My question is if this infromation could be referenced to the SAN Switch template above so that my users receive a graph where the can see which interface the graph belongs (and they don't have to think that port 0 on the switch will be graph with port 1 etc.)

does anyhone have an idea if this would be possible and how to realise it ?
tomer
Posts: 7
Joined: Tue Aug 26, 2008 7:41 am

Re: Updated templates

Post by tomer »

elcody02 wrote:I've updated the posted template with the following changes:
1. Updateinterval 1minute
2. Split the graphs into two. One for displaying frames and one for the traffic.
3. Traffic is displayed in bytes/sec not in words/sec
4. Remove max values in data sources.
Feel free using it.
I'm not quite sure if i understand it the rigth way. i imported the template and startet graphing some interfaces.

when i choose "Brocade FC Switch Traffic" as graphic template the graph shows TX/RX words but if i understand you correctly the Traffic display should be bytes/sec, right (point 3) ? If i'm correct the template alerady does the math needed to transfer words into bytes (multiplied with 4).

i also have to decide if it is worth having to different graphs (words and bytes). probably i will merge everything back to one graph :roll:
Attachments
This shows a picture where graph template used is "Brocade FC Switch Traffic"
This shows a picture where graph template used is "Brocade FC Switch Traffic"
graph_image_traffic.php.png (26.28 KiB) Viewed 16221 times
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Re: Updated templates

Post by toe_cutter »

Nevermind, was wrong :)

Wait, any reason for having Cisco LRE and CBL APC Load templates contained in both templates posted? (first post and on 9th page).
Meh, ill just post my cleaned up templates...
As tomer noticed, i changed "units per second" to "bytes per second" as the Traffic graphs where multiplying by 4 already. Changed the traffic graph colors aswell.

Edit: Removed the template. Use my template/data queries further down.
Last edited by toe_cutter on Tue Apr 14, 2009 9:04 am, edited 1 time in total.
ledub
Posts: 4
Joined: Thu Apr 09, 2009 4:14 am

Re: Updated templates

Post by ledub »

could you put the entire template ? host , graph and data ?
smaug098
Posts: 1
Joined: Thu Apr 09, 2009 2:40 pm

Brocade Template on 0.8.7b (ubuntu 8.04)

Post by smaug098 »

I'm trying to make sense of the graph. I'm using the template from elcody02 posted on Thu Sep 18, 2008 5:56 am.

elcody02 wrote:
3. Traffic is displayed in bytes/sec not in words/sec
The legend along the Y axis is still labeled units per second. The data in my graphs are labeled both 'k' and 'M'. The legend calls it TX/RX Words.

Are these measurements in bytes and the Y axis legend hasn't been updated?

Thanks!
Attachments
graph_image.php.png
graph_image.php.png (32.66 KiB) Viewed 15661 times
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Re: Brocade Template on 0.8.7b (ubuntu 8.04)

Post by toe_cutter »

smaug098 wrote:Are these measurements in bytes and the Y axis legend hasn't been updated?
Yes, you are right in your assumption that the measurement is in bytes (elcody02 is using a CDEF for it) but forgot to update the Y-axis and legend.
ledub wrote:could you put the entire template ? host , graph and data ?
Data-, graphtemplates and data query is included in my previous template.
But i forgot to include the fan/temp templates. And thus i created a dataquery for them aswell (they where indexable and didnt need to spam data templates).

So here is an exported Host template (with dependencies) which contains a fixed version of elcody02's templates and a fan/temp-sensors template. Also included are the data_query xml's used.
Exported from 0.8.7d, all patches applied.

Remember that dependencies include any custom RRA/CDEF from my Cacti-system. Please have a look at your own and back them up. In fact, take a whole backup for the sake of it, you never know...

Edit:
Apparently the CDEF i use in the graph template (LAST) isnt included in the dependencies, so if you want to use LAST you have to go to Console->Data Sources->RRAs and add LAST to the selection for all of the RRAs.
If you want to use AVERAGE instead, please change the graph template, LAST -> AVERAGE.

Read more about CDEFs here - http://docs.cacti.net/manual:087:8_rrdt ... solidation
Attachments
brocade_interfaces.xml
should be in resources/snmp_queries aswell
(8.26 KiB) Downloaded 2267 times
brocade_sensors.xml
should be in resources/snmp_queries
(1.73 KiB) Downloaded 2070 times
cacti_host_template_brocade_fc_switch_interfacessensors.xml
Import from GUI.
(69.58 KiB) Downloaded 2542 times
Last edited by toe_cutter on Thu Oct 15, 2009 2:49 am, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests