Writing plugins

Plugins that are not built into Netlens. They are installed from Settings → Integrations → Plugin store (they are listed in plugin-index/) or uploaded as a zip, and start switched off.

Folder Plugin Reads Status
proxmox/ Proxmox VE VMs and containers and the host each runs on (a hypervisor plugin; was built into Netlens before 0.4.44) in daily use on the maintainer’s cluster
asus/ ASUS router (AiMesh) which device is connected to which AiMesh node, with Wi-Fi signal and roaming (a topology plugin; was built in before 0.4.44) tested on an ASUS RT-AX92U
homeassistant/ Home Assistant the device registry: area, model, battery, availability (an inventory plugin) tested on a real Home Assistant 2026.7.1
omada/ TP-Link Omada Omada controller 5.1 or newer: gateway, switches, access points, clients written from the public API, testing started (1.0.1 fixes a first controller error)
unifi/ Ubiquiti UniFi UniFi Network on a UniFi OS console or a classic controller written from the public API, not yet tested on hardware
snmp/ SNMP switches managed switches over SNMP v1/v2c: the MAC address table (which device is on which port) and LLDP (how the switches are connected) verified against a real device
technitium/ Technitium DNS registers devices in Technitium DNS (a dns plugin): A and PTR records, primary/secondary and cluster, never touches records it did not make tested against a simulated Technitium server only
synology/ Synology a Synology NAS (DSM 7): Container Manager containers, Virtual Machine Manager machines and packages as guests (a hypervisor plugin) tested against a simulated DSM only
truenas/ TrueNAS TrueNAS Community 25.04+: containers, VMs and apps as guests of the NAS (a hypervisor plugin) tested on a real TrueNAS 25.10.6 (VMs with simulated data)
pihole/ Pi-hole registers devices in Pi-hole v6’s Local DNS (a dns plugin) tested on a real Pi-hole 6.4.3 (Docker)
adguard/ AdGuard Home registers devices as AdGuard Home DNS rewrites (a dns plugin) verified on a real installation (and tested on AdGuard Home 0.107.79 in Docker)
portainer/ Portainer every Docker environment a Portainer manages: containers as guests (a hypervisor plugin) tested on a real Portainer 2.45.2 (local environment)
kubernetes/ Kubernetes nodes as hosts, pods as guests (a hypervisor plugin) tested on a real k3s 1.36 (one node)
nomad/ HashiCorp Nomad client nodes as hosts, allocations as guests (a hypervisor plugin) tested on a real Nomad 2.0.7 (dev mode)
traefik/ Traefik the sites a Traefik v2/v3 publishes (a proxy plugin) tested on a real Traefik 3.7.15 (Docker provider)
caddy/ Caddy the reverse-proxy sites of a Caddy 2 (a proxy plugin) tested on a real Caddy 2.11.7
openwrt/ OpenWrt router/access point and its clients over ubus (a topology plugin) tested on OpenWrt 25.12.5 (QEMU, no Wi-Fi radio)
mikrotik/ MikroTik RouterOS router/switch, neighbours and clients over the REST API (a topology plugin) tested on RouterOS 7.12.1 CHR (QEMU, no radio)
opnsense/ OPNsense the firewall as gateway and its ARP/DHCP clients (a topology plugin) tested on OPNsense 26.7 (QEMU)
powerdns/ PowerDNS Authoritative registers devices in PowerDNS 4.x through its API, with comments as marker (a dns plugin) tested on a real PowerDNS 4.9.17 (Docker)
bind/ BIND 9 registers devices by RFC 2136 dynamic update, zones read by AXFR, TSIG-signed (a dns plugin) tested on a real BIND 9.20 (Docker)
swarm/ Docker Swarm swarm nodes as hosts, tasks as guests (a hypervisor plugin) tested on a real swarm (one manager)
incus/ Incus / LXD servers and their containers and VMs (a hypervisor plugin) tested on a real Incus 6.0.4 (containers only)
vsphere/ VMware ESXi / vCenter hosts and virtual machines over SOAP (a hypervisor plugin) tested against the vcsim simulator only
kong/ Kong Gateway routes and upstreams (a proxy plugin) tested on a real Kong 3.9.4 (DB-less)
haproxy/ HAProxy backends and their servers from the statistics page (a proxy plugin) tested on a real HAProxy 3.4.7
vyos/ VyOS router, ARP and DHCP clients over the HTTPS API (a topology plugin) tested on a VyOS rolling live ISO (QEMU)
pbs/ Proxmox Backup Server what is backed up per guest, its age and state, datastore usage and job results (a backup plugin) tested on a real Proxmox Backup Server 4.2
netbox/ NetBox the documented devices and cables as nodes, clients and the tree (a topology plugin) tested on a real NetBox 4.7.3 (Docker)
kea/ Kea DHCP DHCP leases and reservations as clients with names (a topology plugin) tested on a real Kea 2.6.3 (leases added with the API; no real DHCP clients)
librenms/ LibreNMS devices, LLDP/CDP links and switch forwarding tables as nodes, clients and the tree (a topology plugin) tested on a real LibreNMS 26.9.1 (Docker); links and forwarding table rows inserted by hand
envoy/ Envoy virtual hosts and TCP proxies with their upstreams (a proxy plugin) tested on a real Envoy 1.32.13 (Docker, file configuration); xDS from documentation
apisix/ Apache APISIX routes, upstreams, services and certificate expiry (a proxy plugin) tested on a real APISIX 3.11.0 (Docker); stream routes from documentation
consul/ HashiCorp Consul catalog nodes as hosts and service instances with their health as guests (a hypervisor plugin) tested on a real Consul 1.20.6 (Docker, dev mode)
pihole-clients/ Pi-hole clients the devices Pi-hole has seen, with names and manufacturers (a topology plugin) tested on a real Pi-hole 6.4.3 (Docker); only one client in the lab
adguard-clients/ AdGuard Home clients DHCP leases and named clients with device types (a topology plugin) tested on a real AdGuard Home v0.107.79 (Docker); static leases only
greenbone/ Greenbone (OpenVAS) the findings of the scanner per host: severity, CVE numbers, score, port, advice (a vulnerability plugin) tested on a real Greenbone Community 22.7 (GMP over TLS; one host scanned, no CVE references in that scan)
nessus/ Tenable Nessus the findings of the latest completed scans per host (a vulnerability plugin) written from the API documentation, not yet tested on a real Nessus
insightvm/ Rapid7 InsightVM the vulnerabilities of the assets per host (a vulnerability plugin) written from the API documentation, not yet tested on a real console

Omada, UniFi and SNMP are topology plugins: they tell Netlens which switch or access point every device is connected to, and which device hangs below which, so the hierarchy and the map show the real network position. They only read.

Diagnostics

Every plugin here has a diagnose(config): the plugin’s page in Netlens shows a Run diagnostic button that produces an anonymised report (field names and types, which step failed) to copy or download and send to the maintainer. New plugins should include one too, see app/plugins/PLUGINS.md.

Build a release zip

python plugins/build_zip.py omada      # writes plugins/dist/omada-<version>.zip and prints its SHA-256
python plugins/build_zip.py unifi

The zip holds only plugin.json and plugin.py. The README and the tests stay in the repository.