towerops/priv/repo
Graham McIntie de455d1cf4 fix: improve bandwidth counter handling to match LibreNMS approach (#168)
- Clamp negative counter deltas to zero instead of attempting 32-bit wrap
  correction (matches LibreNMS behavior — wraps are indistinguishable from
  HC counter resets, so discard the ambiguous data point)
- Add rate sanity check: discard values exceeding 400 Gbps as counter anomalies
- Add 4-byte binary decoding for 32-bit SNMP counters in decode_snmp_value
- Track HC vs standard counter usage per interface stat (is_hc field)
- Add migration for is_hc column on snmp_interface_stats
- Update tests to match new clamping behavior

Reviewed-on: graham/towerops-web#168
2026-03-25 13:33:45 -05:00
..
migrations fix: improve bandwidth counter handling to match LibreNMS approach (#168) 2026-03-25 13:33:45 -05:00
seeds.exs init 2025-12-21 11:10:43 -06:00
seeds_e2e.exs feat: create test organization in e2e seed script 2026-03-08 13:14:56 -05:00
structure.sql fix/test-failures (#112) 2026-03-22 13:02:06 -05:00