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

@@ -80,6 +80,10 @@ All configuration is done via environment variables. Copy `.env.example` to `.en
| `NETWORKS` | — | Comma-separated CIDR networks (used when `SCAN_SOURCE=env` or `mixed`) |
| `NETBOX_PREFIX_STATUS` | _(all)_ | Filter NetBox prefixes by status, e.g. `active`, `reserved` (used when `SCAN_SOURCE=netbox` or `mixed`) |
| `TENANT` | — | NetBox tenant name to assign to imported IPs |
| `MAX_SCAN_WORKERS` | `5` | Number of networks scanned in parallel |
| `MAX_IMPORT_WORKERS` | `5` | Number of NetBox import calls made in parallel |
| `WATCHDOG_IPS` | _(none)_ | Comma-separated IPs to monitor during the scan — if any go down, the scan stops immediately |
| `WATCHDOG_INTERVAL` | `10` | Seconds between watchdog ping checks |
**`SCAN_SOURCE` values:**