Skip to main content

Brocade Switch

Pack Assets​

Templates​

The Centreon Monitoring Connector Brocade Switch brings a host template:

  • Net-Brocade-SNMP-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefaultDiscovery
CpuNet-Brocade-Cpu-SNMPCheck the rate of utilization of CPU for the machineX
HardwareNet-Brocade-Hardware-SNMPCheck hardware stateX
MemoryNet-Brocade-Memory-SNMPCheck memory usageX
Packet-Errors-Generic-NameNet-Brocade-Packet-Errors-Generic-Name-SNMPCheck packets on errors
Packet-Errors-GlobalNet-Brocade-Packet-Errors-Global-SNMPCheck packets on errorsX
Traffic-Generic-IDNet-Brocade-Traffic-Generic-ID-SNMPCheck the bandwidth of the interface. For each checks the name of the interface will appear
Traffic-GlobalNet-Brocade-Traffic-Global-SNMPCheck the bandwidth of interfaces. For each checks the name of the interface will appearX
Traffic-Generic-NameNet-brocade-Traffic-Generic-Name-SNMPCheck the bandwidth of the interface. For each checks the name of the interface will appear

Discovery rules​

Rule NameDescription
Net-Brocade-SNMP-Packet-Errors-NameDiscover network interfaces and monitor errored and discarded packets
Net-Brocade-SNMP-Traffic-NameDiscover network interfaces and monitor bandwidth utilization

Collected metrics & status​

Metric NameUnit
warning%

Prerequisites​

SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your Brocade Switch server. Please refer to the official documentation from Broadcom:

Network flow​

The target server must be reachable from the Centreon poller on the UDP/161 SNMP port.

Setup​

  1. Install the package on every Centreon poller expected to monitor Brocade Switch resources:
yum install centreon-plugin-Network-Switchs-Brocade-Snmp
  1. On the Centreon web interface, on page Configuration > Monitoring Connectors Manager, install the Brocade Switch Centreon Monitoring Connector.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Brocade Switch server settings.
  • Apply the Net-Brocade-SNMP-custom template to the host.

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryMacroDescription
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins//centreon_brocade.pl \
--plugin=network::brocade::snmp::plugin \
--mode=interfaces \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--interface='' \
--name \
--add-status \
--add-traffic \
--critical-status='' \
--warning-in-traffic='' \
--critical-in-traffic='' \
--warning-out-traffic='' \
--critical-out-traffic='' \
--use-new-perfdata

The expected command output is shown below:

OK: Traffic In : 321.02b/s (-) Traffic Out : 382.02b/s (-) | 'interface.traffic.in.bitspersecond'=9000b/s;;;0; 'interface.traffic.out.bitspersecond'=9000b/s;;;0; 

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins//centreon_brocade.pl \
--plugin=network::brocade::snmp::plugin \
--mode=interfaces \
--help

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins//centreon_brocade.pl \
--plugin=network::brocade::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.