Cisco Nexus SNMP
Description
Collects Cisco Nexus interfaces, CPU/memory utilization, hardware health, vPC, and inventory over SNMP.
cisco hardware network nexus snmp
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Supersedes
This connector supersedes:
Target
Typical platform: Cisco Nexus
Operating system: Network Device
This connector is not available for the local host (it is applicable to remote hosts only).
Prerequisites
Leverages: IF-MIB, CISCO-PROCESS-MIB, CISCO-ENHANCED-MEMPOOL-MIB, ENTITY-MIB, CISCO-ENVMON-MIB, CISCO-VPC-MIB
Technology and protocols: SNMP
Examples
CLI
metricshub HOSTNAME -t network -c +CiscoNexusSNMP --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: [ +CiscoNexusSNMP ] # 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 Nexus SNMP connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- An SNMP GetNext on the OID
1.3.6.1.4.1.9.9.109.1.1.1.1.8must return a non-empty value
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| blade | hw.status{hw.type="blade", state="present"} | hw.idhw.parent.idhw.parent.typeidmodelnameserial_numbertype |
| cpu | hw.status{hw.type="cpu", state="present"}system.cpu.utilization | hw.idhw.parent.idhw.parent.typeidname |
| enclosure | hw.status{hw.type="enclosure", state="present"} | hw.ididnametype |
| fan | hw.status{hw.type="fan", state="degraded|failed|ok"}hw.status{hw.type="fan", state="present"} | hw.idhw.parent.idhw.parent.typeidname |
| interface | hw.errors{hw.type="network", direction="receive", network.io.direction="receive"}hw.errors{hw.type="network", direction="transmit", network.io.direction="transmit"}hw.network.bandwidth.limithw.network.dropped{network.io.direction="receive"}hw.network.dropped{network.io.direction="transmit"}hw.network.io{direction="receive", network.io.direction="receive"}hw.network.io{direction="transmit", network.io.direction="transmit"} | hw.idhw.parent.idhw.parent.typeidnametype |
| memory | hw.status{hw.type="memory", state="present"}system.memory.utilization{system.memory.state="free"}system.memory.utilization{system.memory.state="used"} | hw.idhw.parent.idhw.parent.typeidnametype |
| power_supply | hw.status{hw.type="power_supply", state="degraded|failed|ok"}hw.status{hw.type="power_supply", state="present"} | hw.idhw.parent.idhw.parent.typeidname |
| temperature | hw.status{hw.type="temperature", state="degraded|failed|ok"}hw.status{hw.type="temperature", state="present"}hw.temperaturehw.temperature.limit{limit_type="high.critical"}hw.temperature.limit{limit_type="high.degraded"} | hw.idhw.parent.idhw.parent.typeidnametype |
| vpc_keepalive | hw.status{hw.type="network", cisco.nexus.type="vpc-keepalive", state="degraded|failed|ok"} | hw.idhw.parent.idhw.parent.typeidnametype |
| vpc_peer | hw.status{hw.type="network", cisco.nexus.type="vpc-peer", state="degraded|failed|ok"} | hw.idhw.parent.idhw.parent.typeidnametype |