Back to the list of connectors[1]

Juniper Switch Enterprise

Description

This connector discovers the enclosure, ports, fans, power supplies, port modules, etc. of Juniper Network Switches.

This connector supersedes:

hardware[5] juniper[6] network[7]

Target

Typical platform: Juniper Network Switch

Operating system: Network Device

Prerequisites

Leverages: Juniper SNMP Agent (JUNIPER-MIB)

Technology and protocols: SNMP

Examples

CLI

metricshub HOSTNAME -t network -c +Juniper --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: [ +Juniper ] # 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 Juniper 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
  • An SNMP Get-Next on the OID 1.3.6.1.4.1.2636.3.1.15.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes
blade
  • hw.status{hw.type="blade", state="degraded|failed|ok"}
  • hw.status{hw.type="blade", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • model
  • name
  • serial_number
enclosure
  • hw.status{hw.type="enclosure", state="present"}
  • bios_version
  • id
  • info
  • 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.id
  • hw.parent.type
  • id
  • info
  • name
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.id
  • hw.parent.type
  • id
  • name
  • physical_address
  • physical_address_type
other_device
  • hw.status{hw.type="other_device", state="degraded|failed|ok"}
  • hw.status{hw.type="other_device", state="present"}
  • device_type
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • name
power_supply
  • hw.status{hw.type="power_supply", state="degraded|failed|ok"}
  • hw.status{hw.type="power_supply", state="present"}
  • hw.parent.id
  • hw.parent.type
  • id
  • info
  • name
No results.