towerops/lib/towerops/snmp
Graham McIntie b134a2e56a perf: LiveView event batching & PubSub optimization (TOW-26)
- Add 1.5s debounce to dashboard LiveView for alert events, preventing
  excessive re-renders during mass outages where hundreds of alerts fire
  simultaneously
- Replace global 'device:events' PubSub topic with org-scoped
  'device_events:org:{id}' topics across all broadcasters (device_poller_worker,
  sensor_change_detector, discovery) so LiveView processes only receive
  events for their tenant
- Update EventLogger GenServer to subscribe to per-org topics dynamically,
  with runtime subscription support for newly created orgs
- Add Organizations.list_organization_ids/0 for EventLogger bootstrap
- Increase default DB pool_size from 20 to 25 for production concurrent users

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-15 14:08:27 -05:00
..
adapters fix: agent discovery and polling accuracy improvements 2026-02-11 15:58:31 -06:00
profiles fix: correct SNMP OIDs for 7 vendor modules to match MIB definitions 2026-03-10 17:07:43 -05:00
adapter.ex enable agent debugging 2026-01-27 13:25:04 -06:00
agent_discovery.ex nif ci fix complie in ci 2026-01-30 13:01:44 -06:00
arp_discovery.ex fix: filter out ARP entries with empty MAC addresses from SNMP 2026-03-10 15:33:52 -05:00
arp_entry.ex arp 2026-01-23 08:40:57 -06:00
client.ex Replace conditionals with functional pattern matching 2026-02-10 17:11:37 -06:00
deferred_discovery.ex fix: handle nil SNMP community string in discovery logging 2026-03-10 13:57:49 -05:00
device.ex better discovery 2026-01-22 17:40:58 -06:00
discovery.ex perf: LiveView event batching & PubSub optimization (TOW-26) 2026-03-15 14:08:27 -05:00
interface.ex feat: add backhaul capacity analysis foundation 2026-03-06 17:54:32 -06:00
interface_stat.ex moduledocs 2026-01-17 15:08:49 -06:00
ip_address.ex feat: add IP address discovery (Phase 1.3) 2026-01-21 10:36:19 -06:00
mac_address.ex mac discovery 2026-01-23 09:22:08 -06:00
mac_discovery.ex mac discovery 2026-01-23 09:22:08 -06:00
memory_pool.ex feat: add memory pool and storage discovery (Phase 1.5) 2026-01-21 10:57:08 -06:00
mib_parser.ex add MIB-based validation and generic profile tests 2026-01-08 08:57:21 -06:00
mib_translator.ex complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00
neighbor.ex moduledocs 2026-01-17 15:08:49 -06:00
neighbor_cleanup_worker.ex feat: add automatic network topology inference 2026-02-12 13:28:01 -06:00
neighbor_discovery.ex Improve topology discovery matching 2026-03-10 15:44:46 -05:00
physical_entity.ex feat: add physical inventory discovery (Phase 1.4) 2026-01-21 10:46:27 -06:00
poller.ex snmp overhaul 2026-01-18 16:00:01 -06:00
poller_behaviour.ex snmp bits 2026-01-03 14:41:28 -06:00
processor.ex sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
processor_reading.ex sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
sanitizer.ex sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
sensor.ex moduledocs 2026-01-17 15:08:49 -06:00
sensor_change_detector.ex perf: LiveView event batching & PubSub optimization (TOW-26) 2026-03-15 14:08:27 -05:00
sensor_reading.ex fix: add validation for state_descr in sensor readings 2026-03-05 09:27:07 -06:00
snmp_behaviour.ex complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00
state_sensor.ex add state sensor schema, migration, and discovery 2026-01-21 10:25:01 -06:00
storage.ex feat: add memory pool and storage discovery (Phase 1.5) 2026-01-21 10:57:08 -06:00
storage_reading.ex fix mikrotik sensors 2026-01-22 18:07:20 -06:00
vlan.ex add VLAN schema, migration, and discovery 2026-01-21 10:31:21 -06:00
wireless_client.ex Add wireless client table discovery and improve subscriber matching 2026-02-16 11:16:52 -06:00
wireless_client_discovery.ex fix: normalize MAC addresses with leading zeros for subscriber matching 2026-03-10 11:05:57 -05:00
wireless_client_reading.ex feat: add historical wireless client tracking with TimescaleDB 2026-03-09 17:42:17 -05:00