add watchdog and max scans

This commit is contained in:
2026-05-27 09:30:58 +02:00
parent 66c97570f5
commit ef9dc811a7
3 changed files with 81 additions and 12 deletions

View File

@@ -14,3 +14,12 @@ NETBOX_PREFIX_STATUS=active
# NetBox tenant name to assign to discovered IPs
TENANT=Your Tenant Name
# Parallelism
MAX_SCAN_WORKERS=5
MAX_IMPORT_WORKERS=5
# Watchdog: comma-separated IPs that must stay reachable during the scan
# If any becomes unreachable the scan stops immediately
WATCHDOG_IPS=192.168.1.1,192.168.1.2
WATCHDOG_INTERVAL=10