XORUX. How to add Brocade SAN switch

Автор: | 15 марта, 2018

So, we have two Brocade 6505 switches ( and in our sandbox. Monitoring will be implemented with embeeded SNMP MIBs on switches and only thing we need is to setup it from switch side.

Login on switch as administrator

Use snmpconfig —set command to set SNMP parameters depending of your requirenments. In example I keep it default.

From XORUX side:

[lpar2rrd@xorux ~]$ export PATH=$PATH:/opt/freeware/bin

[lpar2rrd@xorux ~]$ snmpwalk -v 1 -c public

SNMPv2-MIB::sysName.0 = STRING: brocade6505-fab1

[lpar2rrd@xorux ~]$ snmpwalk -v 1 -c public

SNMPv2-MIB::sysName.0 = STRING: brocade6505-fab2

Then go to /home/stor2rrd/stor2rrd/etc/ and make backup of san-list.cfg then edit main configuration file adding you Brocade switches:

# SAN configuration file. All SAN switches must be listed here

# <switch IP or hostname>:<SNMP community string>:<BRCD|CISCO>:<fabric name>

# <fabric name> will be used in the GUI for Fabric aggregated graphs

#  use it on ONE switch in the each fabric!!!

# <SNMP community string> is usually set to string «public». In this case you can leave it blank.

# GUI will show the real name of the switch regardless what name or IP you use here

# example  (note each fabric alias is just once on arbitrary switch in given fabric!!!

# It is not necessary to put fabric alias on each switch in the fabric)



# Define your SNMP port If you using another then default 161


# Brocade Network Advisor (BNA)

# <BNA IP or hostname>:<port>:BNA:<API user>:<encrypted password>:<backup BNA node IP or hostname>

# to encrypt password use: perl ./bin/spasswd.pl



Check config using ./bin/config_check.sh or ./bin/config_check.sh switch_ip


[lpar2rrd@xorux stor2rrd]$ ./bin/config_check.sh




test snmpwalk:

snmpwalk -v 1 -c public

SNMPv2-MIB::sysName.0 = STRING: brocade6505-fab1

snmpwalk cmd : ok


Type         : BRCD

DestHost     :

Version SNMP : 1

Community    : public

SNMP port    : not defined! Used SNMP default port «161»!

Switch name  : brocade6505-fab1


connection ok


Also we can use ./load.sh html to push data from switches to WEB server:

[lpar2rrd@xorux stor2rrd]$ ./load.sh html

Image environment is set

start time html: Mon Mar 12 16:20:19 CET 2018

installing WWW : install-html.sh

Host identif   : Linux xorux.localdomain 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 007f0100

Apparently some changes in the env, install_html.sh continuing


adding to menu : W : Totals

adding to menu : W : Totals:Heatmap

adding to menu : W : Totals:Data

adding to menu : W : Totals:Frame

adding to menu : W : Totals:Fabric

adding to menu : W : Totals:Health status

adding to menu : W : Totals:Configuration

adding to menu : W : Totals:Historical reports

adding to menu : W : brocade6505-fab2

adding to menu : W : brocade6505-fab2:Configuration

adding to menu : W : brocade6505-fab2:Data

adding to menu : W : brocade6505-fab2:Frame

adding to menu : W : brocade6505-fab2:Health status

Adding SAN port:

adding to menu : W : brocade6505-fab1

adding to menu : W : brocade6505-fab1:Configuration

adding to menu : W : brocade6505-fab1:Data

adding to menu : W : brocade6505-fab1:Frame

adding to menu : W : brocade6505-fab1:Health status

Adding SAN port:

end time       : Mon Mar 12 16:20:25 CET 2018

Mon Mar 12 16:20:25 CET 2018


After about 10-15 mins we can see some results in STO2RRD web interface. Like health status of switches:

Our menu after adding switches:

Phisical and operational status of both switches:







Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *