towerops/config
Graham McIntire 9df53b1629
fix: suppress repetitive SNMP MIB resolution errors
Add logger filter to drop repetitive 'Cannot find module' errors
from net-snmp library. These errors occur when snmptranslate can't
find vendor-specific MIB modules but don't affect functionality
since the system falls back to numeric OIDs.

The errors were flooding production logs (hundreds of identical
messages) during polling of Morningstar devices that reference
TRISTAR MIB modules.

Changes:
- Add drop_snmp_mib_errors/2 filter to LoggerFilters module
- Register filter in production logger configuration
- Filter matches exact error format from snmptranslate stderr

The root cause (missing NIF binary) will be addressed separately
by compiling the towerops_nif.so during Docker build.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 14:09:26 -06:00
..
config.exs update hammer 2026-02-08 10:08:31 -06:00
dev.exs fix warnings 2026-02-08 10:50:27 -06:00
prod.exs fix: suppress repetitive SNMP MIB resolution errors 2026-02-08 14:09:26 -06:00
runtime.exs prevent poller fallback when assigned poller is selected 2026-02-04 16:24:19 -06:00
test.exs add mikrotik device handling 2026-02-01 16:42:39 -06:00