Repository navigation
Release 2.0.0
Requires LibreNMS 26.5+.
Storage was simplified: custom field values used to live in their own table, now they sit directly on the device-field link. The REST API behaves the same. Text and integer fields are now separate types; integer fields only accept whole numbers.
Breaking
custom_field_valuestable dropped. Values now live oncustom_field_deviceasvalue_text/value_int.CustomFieldValuemodel andcustomFieldValuerelation removed.
Fixed
- #4: integer fields no longer accept text. Rejected with 422 on all write paths.
- Bulk edit / "add to devices" form on the per-field page silently dropped
custom_field_id. - Device's custom fields page rendered "View [device.header] not found" on recent LibreNMS releases.
Migration notes
The migration runs automatically and cleans up old data. Duplicate fields and duplicate device links are collapsed to the oldest, and for each device+field the newest value from the old table wins. Older history is discarded.