refactor to per-node snmp polling and immediate arp dump

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-22 23:09:54 -08:00
parent d2a09250d0
commit c3ed8e30e3
4 changed files with 94 additions and 53 deletions

View File

@@ -48,11 +48,9 @@ func (t *Tendrils) Run() {
t.populateLocalAddresses()
if !t.DisableARP {
t.readARPTable()
go t.pollARP(ctx)
}
if !t.DisableSNMP {
go t.pollSNMP(ctx)
}
ticker := time.NewTicker(1 * time.Second)
defer ticker.Stop()