Categories
Self-Hosted Homelab CMDB Device Discovery IT Asset Management Network Inventory SNMP Monitoring Network ScannerStars
Forks
Watchers
Developer links
LanLens
Point LanLens at a network and every device it finds becomes a documented inventory entry with an owner, a location, notes, and a one-click way to connect. An ARP sweep reads MAC and IP addresses, looks up the vendor in an offline database, and tracks online state, IP history, and DHCP range membership. Routed subnets join through Nmap ping sweeps, and port scans run focused on one device or across the whole network with live progress. Next comes sorting: devices land in segments such as routers, switches, servers, IoT, cameras, and clients, with sortable capacity statistics. Deep Scan then adds hardware, operating system, running services, containers, and installed software, and an optional Windows agent reports over outbound HTTPS from machines outside the LAN. SNMP targets add interface inventory and switch-port context, passive LLDP and CDP hints refine device classes, and a topology map lets you pan, zoom, and drag cards. Awareness signals flag unknown DHCP servers, ARP and MAC drift, and VRRP or HSRP peers, while notification rules send changes to Telegram, Gotify, a webhook, or email. Reviewed CSV exports and sync keep i-doit records current, and a REST API and MCP companion serve scripts and AI assistants. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Inventory that documents itself
- Discovered devices arrive with vendor names, online state, IP history, and DHCP range membership, so owners, locations, and notes go into a populated record instead of a blank spreadsheet.
- Connect to any device in a click
- After a port scan finds SSH, RDP, or web ports, each inventory entry offers an SSH link, a prefilled RDP file download, or a browser tab for that device.
- Spot unexpected network changes
- Unknown DHCP servers, ARP and MAC drift, VRRP or HSRP peers, and scan-detected changes raise awareness signals, and notification rules forward chosen events to Telegram, Gotify, webhooks, or email.
- Keep your CMDB in step
- Editable CSV exports and synchronization send reviewed device, operating system, drive, and software data to i-doit, with a match-only mode that never creates new objects.
Features
- ARP and Nmap Discovery
- Scapy broadcasts ARP frames on the host network, an offline IEEE OUI database names vendors, and Nmap ping sweeps cover routed targets alongside per-device port scans.
- SNMP and Passive Discovery
- SNMP v1, v2c, and v3 profiles poll IF-MIB interfaces and bridge tables for switch-port context, while passive LLDP and CDP frames refine device classes.
- SSH and WinRM Deep Scan
- Fernet-encrypted credentials unlock SSH and WinRM scans of hardware, services, containers, hypervisor guests, and Windows audit data, with an optional agent reporting over outbound HTTPS.
- Alerts and REST API
- Rules send events to Telegram, Gotify, webhooks, or SMTP email, and an optional Bearer token of 32 or more characters gives scripts read-only REST access by default.
- MCP Companion for Assistants
- An MCP companion gives Claude Desktop, Claude Code, Codex, and ChatGPT tools to query LanLens over stdio or authenticated Streamable HTTP.
- Single Container Deployment
- One Docker image for amd64 and arm64 bundles nginx and a FastAPI service with a SQLite volume, or MariaDB or PostgreSQL, and uses host networking for raw ARP.