Add SNMP profile mapping for friendly metric names #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a profile mapping layer that translates SNMP implementation details into friendly monitorable names and device health categories. Raw OIDs should remain behind profiles or advanced/internal tooling.
Scope should include:
The guided UI should continue to show friendly labels such as "CPU load", "Memory used", "Disk / usage", "Power supply status", or "Temperature", not raw OIDs.
Implemented in the local working tree: internal SNMP profile selection, discovery capability flags, friendly HOST-RESOURCES CPU/memory/storage items, friendly ENTITY-SENSOR items, worker collection for CPU/memory/storage/sensor monitors, frontend display of profile/capabilities, and focused tests.
Created follow-up #18 for vendor-private mappings from real device examples. Leaving this issue open until the changes are reviewed/committed.
Completed by commit
e59733d: added internal SNMP profile mapping, capability-aware discovery, standard CPU/memory/storage/sensor monitorable items, worker collection support, UI metadata, and tests. Vendor-private mappings are tracked separately in #18.Reopened after user verification. The implemented standard SNMP mapping works technically, but the discovered names are still not friendly enough for normal UI use. Further work is needed to normalize interface and health item labels into clearer user-facing names without exposing raw SNMP details. Asset deletion cleanup in #19 remains accepted.
Progress update: commit
6ff452aimproves #16 with asset-type-driven SNMP discovery, friendlier network interface labels, Proxmox/Linux server profile selection, Linux/UCD plus HOST-RESOURCES server health discovery, server interface exposure, and Linux collector support. Leaving this issue open because the friendly naming/profile mapping still needs more real-device validation and polish.Completed in
af72a6c.Implemented SNMP profile/discovery improvements including friendly server/network profile selection, Linux/Proxmox health items, friendlier interface labels, editable asset SNMP setup flow, and current observed values in SNMP scan results.
Verified:
docker compose -f docker-compose.dev.yml run --rm backend sh -c "pip install -e '.[test]' >/dev/null && python -m pytest tests/test_discovery.py"docker compose -f docker-compose.dev.yml run --rm frontend npm run typecheckgit diff --check