towerops/lib
Graham McIntire 2ecc2082e6
fix(imports): skip sensors without OIDs and truncate long MIB values
Fixed two profile import issues:

1. Skip sensors without OIDs:
   - Some profiles have sensors with null/missing OID fields
   - These can't be used for SNMP polling anyway
   - Added check to skip importing sensors without oid or num_oid
   - Prevents Ecto.Changeset validation errors

2. Truncate MIB values to 255 characters:
   - ERROR 22001 (string_data_right_truncation)
   - MIB field is varchar(255) but some values exceed this
   - Added truncation to first 255 chars before saving
   - Location: lib/towerops/device_profiles/importer.ex:229-236

Both errors were causing profile imports to fail with crashes.
2026-01-18 11:30:27 -06:00
..
mix/tasks refactor: use API token auth for profile imports instead of session cookies 2026-01-18 09:30:21 -06:00
towerops fix(imports): skip sensors without OIDs and truncate long MIB values 2026-01-18 11:30:27 -06:00
towerops_web fix(telemetry): handle Exq/Redis connection errors gracefully 2026-01-18 11:25:26 -06:00
towerops.ex init 2025-12-21 11:10:43 -06:00
towerops_web.ex separate out marketing layouts 2026-01-06 14:46:39 -06:00