towerops/lib/towerops/snmp
Graham McIntire a1e163d3ee
Add dialyzer type specs to refactored functions
Added comprehensive type specifications to all recently refactored
functions to improve type safety and enable dialyzer checking:

PollerWorker:
- detect_sensor_changes/3
- extract_thresholds/1
- detect_and_log_changes/4

EquipmentLive.Form:
- extract_snmp_config/1
- normalize_port/1
- test_snmp_connection/1

EquipmentLive.Show:
- seconds_to_weeks/1, seconds_to_days/1
- seconds_to_hours/1, seconds_to_minutes/1
- format_time_part/2

All specs use proper Elixir types and handle nil cases appropriately.
2026-01-06 13:12:55 -06:00
..
profiles Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -06:00
client.ex Reduce SNMP logging noise for missing OIDs 2026-01-06 13:02:08 -06:00
device.ex snmp bits 2026-01-03 14:41:28 -06:00
discovery.ex Redesign equipment view with compact LibreNMS-style dashboard 2026-01-03 15:11:47 -06:00
interface.ex snmp bits 2026-01-03 14:41:28 -06:00
interface_stat.ex snmp bits 2026-01-03 14:41:28 -06:00
poller.ex Fix database schema mismatches preventing SNMP and monitoring data collection 2026-01-05 08:26:16 -06:00
poller_behaviour.ex snmp bits 2026-01-03 14:41:28 -06:00
poller_worker.ex Add dialyzer type specs to refactored functions 2026-01-06 13:12:55 -06:00
sensor.ex Add metadata support for storage sensors 2026-01-04 13:09:47 -06:00
sensor_reading.ex snmp bits 2026-01-03 14:41:28 -06:00