Back to the list of connectors

Juniper Switch

Description

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

Connector ID: Juniper

This connector supersedes:

Target

Typical platform: Juniper Network Switch

Operating system: Network Device

Prerequisites

Leverages: MIB-2 Standard SNMP Agent

Technology and protocols: SNMP

Examples

CLI

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

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: network
  selectedConnectors: [ Juniper ] # 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 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.4.1.2636.3.1.15.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes (Labels)
Enclosure
  • hw.status{hw.type="enclosure",state="present"}
  • info
  • bios_version
  • model
  • serial_number
  • type
  • vendor
Blade
  • hw.status{hw.type="blade",state="ok|degraded|failed"}
  • hw.status{hw.type="blade",state="present"}
  • info
  • model
  • serial_number
Fan
  • hw.status{hw.type="fan",state="ok|degraded|failed"}
  • hw.status{hw.type="fan",state="present"}
  • info
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
Other Device
  • hw.status{hw.type="other_device",state="ok|degraded|failed"}
  • hw.status{hw.type="other_device",state="present"}
  • info
  • device_type
Power Supply
  • hw.status{hw.type="power_supply",state="ok|degraded|failed"}
  • hw.status{hw.type="power_supply",state="present"}
  • info
No results.