mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Set SNMP scanner default timings to 10m/5s
A typical router keeps active devices' ARP entries fresh continuously, so a 10-minute poll interval stays well within common ARP cache TTLs while keeping device-event churn modest (each poll records a DeviceSeen event per device). A 5s per-request timeout adds margin for a busy agent or large ARP table at no cost on the happy path. Updates the default in settings.rs and the sample TOML, README and NixOS module. TODO timing-review item narrowed to the ARP scanner. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2987f66363
commit
b283699b3c
@@ -94,12 +94,12 @@ in {
|
||||
snmp_scanner.wait_between_scans = mkOption {
|
||||
type = types.str;
|
||||
description = "Wait time between SNMP polls. Keep it well under the agent's ARP cache timeout so active devices aren't missed.";
|
||||
default = "2m";
|
||||
default = "10m";
|
||||
};
|
||||
snmp_scanner.timeout = mkOption {
|
||||
type = types.str;
|
||||
description = "Per-poll SNMP request timeout.";
|
||||
default = "3s";
|
||||
default = "5s";
|
||||
};
|
||||
notifications.method = mkOption {
|
||||
type = types.str;
|
||||
|
||||
Reference in New Issue
Block a user