towerops/lib/towerops/profiles
Graham McIntire 4cfab3b1ee
Reliability improvements: agent channel, polling, discovery, batch ops
- Add Task.Supervisor for supervised background tasks in agent channel
- Discovery worker retries transient failures (max 3 attempts)
- Log silent polling timeouts with named task identification
- Track errors in batch ARP/MAC upserts instead of silently ignoring
- Discovery gracefully degrades on interface/sensor timeout (partial results)
- Synchronous job dispatch on agent join to prevent race condition
- Surface SNMP result, monitoring check, and backup processing errors
- Atomic delete-stale + upsert for neighbors/ARP/MAC (transaction)
- Discovery transaction timeout (60s) with duration logging
- Heartbeat timeout detection (5min) closes stale agent channels
- Live poll timeout (60s) notifies waiting LiveView on expiry
- Disconnect agent channel when token is disabled or deleted
- Debounce rapid assignment changes to prevent redundant job dispatches
- Sensor index deduplication via YAML index template substitution
2026-02-09 16:28:12 -06:00
..
device_oid.ex add universoal import 2026-01-18 16:59:34 -06:00
device_profile.ex add universoal import 2026-01-18 16:59:34 -06:00
mib_cache.ex complete overhaul of snmp engine 2026-01-30 10:41:07 -06:00
profile_watcher.ex no cluster unless in k8s, fix credo issues 2026-02-09 13:08:51 -06:00
sensor_oid.ex add universoal import 2026-01-18 16:59:34 -06:00
yaml_profiles.ex Reliability improvements: agent channel, polling, discovery, batch ops 2026-02-09 16:28:12 -06:00