v0.3.0
onmsctl v0.3.0
Adds kind: DataCollectionSource — declarative management of OpenNMS SNMP data collection (which MIB objects, resource types, and system definitions get collected) over the DB-backed /api/v2/datacollectionconf REST surface.
Highlights
- New capability
kind: DataCollectionSource— one document perdatacollection-group. You own only the sources you write; the stock vendor library (MIB2, Cisco, …) stays untouched (additive prune — not a singleton).- Whole-source replace — a changed group tree is re-uploaded and the server prunes children you removed; an unchanged source is a no-op (normalized, order-insensitive diff).
- True-reconcile profile associations —
profilesis the full truth: a name added is attached, a name dropped is detached. - Inline
profileSpec(optional) — create or tune the snmp-collection profile (RRD step / RRAs / storage flag) from zero. - Verbs —
onmsctl datacollection list [--profiles] | export <name> [--format xml|json] | delete <name>(aliasdc).
Server requirement
The DB-backed data-collection endpoint is absent from released Horizon ≤ 37.0.0. Apply preflights it once and fails early — before any write — with a clear "endpoint not available" message on a server that lacks it. All other capabilities are unaffected.
Artifacts
Static binaries for macOS and Linux (aarch64 / x86_64), each cosign-signed (.sig + .pem) alongside a signed SHA256SUMS and a signed CycloneDX SBOM. Install + checksum steps are in the README.
Full Changelog: v0.2.0...v0.3.0