towerops/lib/towerops/snmp
Graham McIntire ba79c6da6b
fix: add validation for state_descr in sensor readings
Added validation to ensure state_descr:
- Is not empty when present (min: 1 character)
- Has reasonable length limit (max: 255 characters)
- Prevents storing invalid/malformed state descriptions

This prevents invalid state sensor readings from being stored.

Fixes Medium Bug #16 from reliability audit.
2026-03-05 09:27:07 -06:00
..
adapters fix: agent discovery and polling accuracy improvements 2026-02-11 15:58:31 -06:00
profiles fix: comprehensive bug fixes from reliability audit 2026-03-05 08:53:30 -06: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 arp 2026-01-23 08:40:57 -06: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 agent debug improvements 2026-01-27 14:21:50 -06:00
device.ex better discovery 2026-01-22 17:40:58 -06:00
discovery.ex feat: complete DevicePollerWorker to CheckExecutorWorker migration 2026-02-12 17:52:33 -06:00
interface.ex add network map 2026-01-25 15:24:35 -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 arp 2026-01-23 08:40:57 -06: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 add sensor value change events for all sensor types 2026-02-11 15:06:55 -06: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 Prevent Oban polling/monitoring job stacking per device 2026-02-16 16:37:48 -06:00