Files
nmon/profiles/linux-netsnmp.yaml
jleung 2f8710f7f3 M2 WP1: profile schema, loader, matcher, symbol table, 13 shipped profiles
OIDs verified against the bundled mibs/; matcher checked against 214 LibreNMS recordings (211 match).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lx9FNLG2CqeBbVGGd9bFsP
2026-10-22 17:49:17 +00:00

16 lines
927 B
YAML

# Provenance: mibs/UCD-SNMP-MIB (net-snmp project documentation): laLoadInt
# (1.3.6.1.4.1.2021.10.1.5, load x 100, indexed 1/5/15 minute), laNames, and
# memTotalSwap/memAvailSwap (kilobytes). Net-snmp's enterprise is 8072 but it is
# also the agent on BSDs and appliances, so Linux is matched by sysDescr.
name: linux-netsnmp
extends: generic
priority: 10
provenance: UCD-SNMP-MIB (net-snmp documentation)
match:
sysDescr: '^Linux '
metrics:
- { name: laLoadInt, oid: 1.3.6.1.4.1.2021.10.1.5, type: gauge, unit: ratio, scale: 0.01, interval: 5m, index_label: { column: laNames, as: component } }
- { name: laNames, oid: 1.3.6.1.4.1.2021.10.1.2, type: text, unit: text, interval: 15m }
- { name: memTotalSwap, oid: 1.3.6.1.4.1.2021.4.3.0, type: gauge, unit: bytes, scale: 1024, interval: 5m }
- { name: memAvailSwap, oid: 1.3.6.1.4.1.2021.4.4.0, type: gauge, unit: bytes, scale: 1024, interval: 5m }