Brocade SANnav Management Portal (REST)
Description
This connector discovers Brocade SAN switches through the SANnav Management Portal REST API. It monitors switches (enclosures), Fibre Channel ports, and environment sensors (temperatures, fans, power supplies, etc.). Requires SANnav Management Portal version 2.x or 3.x.
brocade hardware network storage
This connector requires the Enterprise edition of MetricsHub.
This connector supersedes:
Target
Typical platform: Brocade
Operating system: Storage System
This connector is not available for the local host (it is applicable to remote hosts only).
Prerequisites
Leverages: Brocade SANnav Management Portal REST API
Technology and protocols: HTTP
Examples
CLI
metricshub HOSTNAME -t storage -c +BrocadeSANnavREST --https --http-port 443 -u USERNAME
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: storage
connectors: [ +BrocadeSANnavREST ] # Optional, to load only this connector
protocols:
http:
https: true
port: 443 # or probably something else
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The Brocade SANnav Management Portal (REST) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- The HTTP Request below to the managed host succeeds:
- get
/images/logo/Spectre/favicon.png - The entire response (header + body) contains:
200(regex)
- get
- The HTTP Request below to the managed host succeeds:
- get
/external-api/v1/inventory/switches/ - Request Header:
Authorization: Basic %{BASIC_AUTH_BASE64} Accept: application/json - The entire response (header + body) contains:
200(regex)
- get
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| blade | hw.status{hw.type="blade", state="degraded|failed|ok"}hw.status{hw.type="blade", state="present"} | idmodelnametypevendor |
| enclosure | hw.status{hw.type="enclosure", state="degraded|failed|ok"}hw.status{hw.type="enclosure", state="present"} | idmodelnametypevendor |
| fan | hw.fan.speedhw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.parent.idhw.parent.typeidname |
| network | hw.network.bandwidth.limithw.network.uphw.status{hw.type="network", state="degraded|failed|ok"}hw.status{hw.type="network", state="present"} | device_typehw.parent.idhw.parent.typeidname |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.parent.idhw.parent.typeidname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"} | hw.parent.idhw.parent.typeidnamesensor_location |
| voltage | hw.status{hw.type="voltage", state="degraded|failed|ok"}hw.status{hw.type="voltage", state="present"}hw.voltage | hw.parent.idhw.parent.typeidname |