Self-host UnPoller with Levelrail

Polls a UniFi controller and exposes network, client and device statistics as Prometheus metrics. The install form carries up.conf as an editable file and asks for a read-only controller login.

  • Authorunpoller
  • LicenceMIT
  • Memory64 MiB
  • Services1

Needs setup: set its settings before the first start.

How to self-host UnPoller

  1. Pull the images

    One image is pulled on your server.

    Show images
    • ghcr.io/unpoller/unpoller:v5.9.5
  2. Create the app

    One service starts in a single Compose app, on port 9130.

  3. Fill in the secrets

    You do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

  • Create a read-only local user on your UniFi controller and enter its address and login. Scrape port 9130 from Prometheus.

UnPoller requirements

Memory
About 64 MiB
Architectures
amd64 unknown, arm64 unknown
Ports
9130
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
MIT, permissive license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then UnPoller. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the UnPoller docs page.

Deploy UnPoller your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy UnPoller from the CLI

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain unpoller=app.example.com.

levelrail-cli templates install unpoller --name my-unpoller --env UNIFI_URL=VALUE --env UNIFI_USER=VALUE --env UNIFI_PASSWORD=VALUE

Deploy UnPoller with the API

Create a token in the dashboard first. Name, env and domains are the request fields.

curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/unpoller/install \
  -d '{
    "name": "my-unpoller",
    "env": { "UNIFI_URL": "VALUE", "UNIFI_USER": "VALUE", "UNIFI_PASSWORD": "VALUE" }
  }'

UnPoller configuration

UnPoller services

ServiceImagePortsVolumes
unpoller ghcr.io/unpoller/unpoller:v5.9.5 9130 none

UnPoller environment variables

The catalog lists no environment variables for this template.

Ports and volumes

Ports
9130
Volumes
none

UnPoller FAQ

How much memory does UnPoller need?

The catalog lists about 64 MiB of memory for UnPoller.

Does UnPoller run on arm64?

For UnPoller, arm64 support is not confirmed; amd64 is unknown.

What licence is UnPoller under?

UnPoller is licensed under MIT, which is permissive, with few conditions on reuse.

Does UnPoller need configuration before it starts?

Yes. UnPoller has required settings.

Which ports does UnPoller use?

UnPoller listens on port 9130 inside the stack.

Can I deploy UnPoller on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for UnPoller, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image ghcr.io/unpoller/unpoller:v5.9.5 is what you deploy there.

levelrail-cli templates install unpoller --name my-unpoller --env UNIFI_URL=VALUE --env UNIFI_USER=VALUE --env UNIFI_PASSWORD=VALUE