labscout¶
labscout scans the home networks and works out what
runs on each host: nmap and web fingerprints first, then the local Ollama model for anything
the rules don't recognise. It turns the results into catalog entries for
inventory/group_vars/all/apps.yml, monitoring targets and NetBox records.
| Web UI | https://labscout.home.janwiebe.eu |
| Runs in | LXC 160 labscout on node09 (community-scripts Podman), 10.0.3.105 |
| Container | ghcr.io/jwklijnsma/labscout:latest, Podman Quadlet labscout.service, updated daily by podman-auto-update.timer |
| Model | qwen3:30b-a3b on ollama-amd-64gb (10.0.3.206) |
| Scans | 10.0.3.0/24, 10.0.0.0/24 (VLAN 1) and 10.0.2.0/24 (VLAN 10), weekly (labscout-scan.timer, Sunday 03:30) and on demand in the UI |
| Proxmox | every endpoint, with the read-only prometheus@pve!monitoring token the PVE exporter already uses |
| Deployed by | ansible-playbook playbooks/labscout.yml (role labscout) |
Logging in¶
The web UI needs a token. The role creates it once on the LXC and never writes it to the repo or the Ansible output:
pct exec 160 -- cat /etc/labscout/web_token # on node09
Open https://labscout.home.janwiebe.eu/?token=<token> once. The browser then keeps it in a
cookie.
Using it¶
- Scan: start "Scan, identify & plan" in the UI, or wait for the weekly run.
- Hosts: approve what labscout found, or correct it, and reject what should not be planned.
- Plan & apply: new apps and aliases for
apps.yml, monitoring targets and NetBox addresses. Write to NetBox from the UI with a preview first. Add catalog entries to this repo by hand from the plan.apply --infrais off because this repo is private and the container has no deploy key.
From the shell:
pct exec 160 -- podman exec labscout labscout run -c /config/labscout.yml
pct exec 160 -- podman exec labscout labscout review -c /config/labscout.yml --approve-above 0.9
journalctl -u labscout -f # inside the LXC
Files in the LXC¶
| Path | |
|---|---|
/etc/labscout/labscout.yml |
config (template roles/labscout/templates/labscout.yml.j2) |
/etc/labscout/secrets.env |
web token, Proxmox and NetBox token secrets (0600) |
/etc/containers/systemd/labscout.container |
Quadlet unit |
volume labscout-data |
hosts.json, model cache, report.md, plan.json |