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
44 lines
2.5 KiB
YAML
44 lines
2.5 KiB
YAML
# Provenance: mibs/Printer-MIB (RFC 3805): prtMarkerSuppliesTable (1.3.6.1.2.1.43.11.1.1:
|
|
# Description .6, MaxCapacity .8, Level .9), prtMarkerTable LifeCount
|
|
# (1.3.6.1.2.1.43.10.2.1.4) and prtAlertTable SeverityLevel
|
|
# (1.3.6.1.2.1.43.18.1.1.2). Printer-MIB cannot be probed before discovery, so
|
|
# the profile matches common printer vendors' enterprise OIDs (HP JetDirect
|
|
# 11.2.3.9, Brother 2435, Xerox 253, Canon 1602, Lexmark 641, Kyocera 1347,
|
|
# Ricoh 367, Epson 1248; IANA enterprise numbers) or a printer-like sysDescr.
|
|
# Supply levels use -1 (other), -2 (unknown) and -3 (some remaining) as
|
|
# non-numeric markers; they are dropped. A metric whose index_label column is
|
|
# its own name (prtMarkerLifeCount, prtAlertSeverityLevel) is labelled with the
|
|
# row index itself, since those tables have no description column.
|
|
name: printer
|
|
extends: generic
|
|
priority: 5
|
|
provenance: Printer-MIB (RFC 3805); IANA enterprise numbers for vendor matching
|
|
match:
|
|
sysObjectID:
|
|
- 1.3.6.1.4.1.11.2.3.9
|
|
- 1.3.6.1.4.1.2435
|
|
- 1.3.6.1.4.1.253
|
|
- 1.3.6.1.4.1.1602
|
|
- 1.3.6.1.4.1.641
|
|
- 1.3.6.1.4.1.1347
|
|
- 1.3.6.1.4.1.367
|
|
- 1.3.6.1.4.1.1248
|
|
sysDescr: '(?i)(laserjet|officejet|designjet|printer|bizhub|imagerunner|workcentre|ecosys|jetdirect)'
|
|
metrics:
|
|
- { name: prtMarkerSuppliesDescription, oid: 1.3.6.1.2.1.43.11.1.1.6, type: text, unit: text, interval: 15m }
|
|
- { name: prtMarkerSuppliesLevel, oid: 1.3.6.1.2.1.43.11.1.1.9, type: gauge, unit: count, interval: 15m, index_label: { column: prtMarkerSuppliesDescription, as: component }, table: "Printer-MIB::prtMarkerSuppliesTable", not_available: [-1, -2, -3] }
|
|
- { name: prtMarkerSuppliesMaxCapacity, oid: 1.3.6.1.2.1.43.11.1.1.8, type: gauge, unit: count, interval: 15m, index_label: { column: prtMarkerSuppliesDescription, as: component }, table: "Printer-MIB::prtMarkerSuppliesTable", not_available: [-1, -2] }
|
|
- { name: prtMarkerLifeCount, oid: 1.3.6.1.2.1.43.10.2.1.4, type: counter32, unit: count, interval: 15m, index_label: { column: prtMarkerLifeCount, as: component }, table: "Printer-MIB::prtMarkerTable" }
|
|
- name: prtAlertSeverityLevel
|
|
oid: 1.3.6.1.2.1.43.18.1.1.2
|
|
type: status
|
|
unit: enum
|
|
interval: 15m
|
|
index_label: { column: prtAlertSeverityLevel, as: component }
|
|
table: Printer-MIB::prtAlertTable
|
|
enum: { 1: other, 3: critical, 4: warning, 5: warningBinaryChangeEvent }
|
|
discovery_tables:
|
|
- Printer-MIB::prtMarkerSuppliesTable
|
|
- Printer-MIB::prtMarkerTable
|
|
- Printer-MIB::prtAlertTable
|