Back to the list of connectors[1]

MIB-2 Standard SNMP Agent - Network Interfaces - Linux

Description

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

This connector is superseded by:

This connector supersedes:

community[5] hardware[6] linux[7]

Source[8]

Target

Typical platform: Any system with SNMP

Operating system: Linux

Prerequisites

Leverages: MIB-2 Standard SNMP Agent

Technology and protocols: SNMP

Examples

CLI

metricshub HOSTNAME -t linux -c +MIB2Linux --snmp v2c --community public

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: linux
        connectors: [ +MIB2Linux ] # 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 MIB-2 Standard SNMP Agent - Network Interfaces - Linux 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
network
  • hw.errors{hw.type="network"}
  • hw.network.bandwidth.limit
  • 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="degraded|failed|ok"}
  • hw.status{hw.type="network", state="present"}
  • device_type
  • hw.parent.type
  • id
  • name
  • physical_address
  • physical_address_type
No results.