Back to the list of connectors[1]

Cisco Ethernet Switch Enterprise

Description

This connector discovers the enclosure Cisco Ethernet switches as well as the various environment sensors (temperatures, fans, power supplies, etc.). It relies on the SNMP protocol.

This connector supersedes:

cisco[3] hardware[4] network[5]

Target

Typical platform: Cisco

Operating system: Network Device

Prerequisites

Leverages: Cisco SNMP Agent (ciscoMgmt)

Technology and protocols: SNMP

Examples

CLI

metricshub HOSTNAME -t network -c +CiscoEthernetSwitch --snmp v2c --community public

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: network
        connectors: [ +CiscoEthernetSwitch ] # Optional, to load only this connector
        protocols:
          snmp:
            version: v2c # Read documentation for v1, v2c and v3
            community: public # or probably something more secure

Connector Activation Criteria

The Cisco Ethernet Switch connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • An SNMP Get-Next on the OID 1.3.6.1.4.1.9.9.13.1.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes
enclosure
  • hw.status{hw.type="enclosure", state="present"}
  • id
  • model
  • name
  • serial_number
  • type
  • vendor
fan
  • hw.status{hw.type="fan", state="degraded|failed|ok"}
  • hw.status{hw.type="fan", state="present"}
  • hw.parent.type
  • id
  • name
network
  • hw.status{hw.type="network", state="present"}
  • device_type
  • hw.parent.type
  • id
  • name
  • physical_address
  • physical_address_type
power_supply
  • hw.status{hw.type="power_supply", state="degraded|failed|ok"}
  • hw.status{hw.type="power_supply", state="present"}
  • hw.parent.type
  • id
  • name
temperature
  • hw.status{hw.type="temperature", state="degraded|failed|ok"}
  • hw.status{hw.type="temperature", state="present"}
  • hw.temperature
  • hw.parent.type
  • id
  • name
voltage
  • hw.status{hw.type="voltage", state="degraded|failed|ok"}
  • hw.status{hw.type="voltage", state="present"}
  • hw.voltage
  • hw.parent.type
  • id
  • name
No results.