Back to the list of connectors

Generic Ethernet Switch

Description

This connector discovers the enclosure and Ethernet ports of a system equipped with an MIB-2 standard SNMP Agent.

Connector ID: GenericSwitchEnclosure

This connector is superseded by:

This connector supersedes:

Target

Typical platform: MIB-2 Supported Switch

Operating system: Network Device

Prerequisites

Leverages: MIB-2 Standard SNMP Agent

Technology and protocols: SNMP

Examples

CLI

hws HOSTNAME -t network -f GenericSwitchEnclosure --snmp v2c --community public

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: network
  selectedConnectors: [ GenericSwitchEnclosure ] # Optional, to load only this connector
  snmp:
    version: v1 # Read documentation for v2 and v3
    community: public # or probably something more secure

Connector Activation Criteria

The Generic 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.2.1.2.2.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes (Labels)
Enclosure
  • hw.status{hw.type="enclosure",state="present"}
  • type
Network Card, FC Port
  • hw.errors{hw.type="network"}
  • hw.network.bandwidth.limit
  • hw.network.bandwidth.utilization
  • hw.network.io{direction="receive"}
  • hw.network.io{direction="transmit"}
  • hw.network.packets{direction="receive"}
  • hw.network.packets{direction="transmit"}
  • hw.network.up
  • hw.status{hw.type="network",state="ok|degraded|failed"}
  • hw.status{hw.type="network",state="present"}
  • physical_address
No results.