Skip to content

Every variable

Every variable the stack reads, grouped as on Settings → Stack environment, which writes any of them for you to paste into your settings: Portainer's environment variables, or .env with Docker Compose. Only COLLIMO_VERSION is required; everything else has a default or is optional.

  • Paid: used only with a paid edition's license key (Pro, Business or MSP; each feature's page says which) or a beta key, or after launch during the trial.
  • Secret: never shown back by Collimo. Settings writes a placeholder, or makes a new key or password for you.
  • Stack: read by Docker Compose, for another service, a port or an overlay, rather than by Collimo itself.

Stack

Variable Default What it does
COMPOSE_PROFILES
stack
— Optional services this stack also runs. Whether Portainer passes it on depends on its version. One of: gotify, igotify, postgres, apprise, tailscale.
WEB_PORT
stack
8090 The dashboard's port on the Docker host.
TZ — The time zone for quiet hours, backups and the daily inventory. Unset is UTC. For example America/Los_Angeles.
DASHBOARD_URL — Where this dashboard is reached: notifications link to it, and OIDC returns to it. For example https://collimo.example.com.
COLLIMO_VERSION
stack
— Required: the release to run, such as 0.9.0, or qa for what is under test. Never latest. For example 0.9.0.
COLLIMO_IMAGE
stack
ghcr.io/collimohq/collimo Where the image is published. Change it only if told to.
VERSION
stack
gitops With docker-compose.build.yml: the version label of a build from source.

UniFi

Variable Default What it does
UNIFI_ENABLED true false turns off Network, Protect, WAN and the probe, for a stack that watches only hypervisors and storage.
UNIFI_HOST — The console that runs Network, by its address. For example https://192.168.1.1.
UNIFI_API_KEY
secret
— Integrations in the console's left menu; older releases: Settings → Control Plane → Integrations.
UNIFI_USERNAME — A local-only, read-only admin, with MFA off. It reaches fans, port errors, optics and the WAN history. For example telemetry.
UNIFI_PASSWORD
secret
— That admin's password.
UNIFI_SITE default The site's internal name, if you renamed it.
UNIFI_OS true false only for a self-hosted standalone Network controller.
UNIFI_VERIFY_TLS false true once the consoles have trusted certificates; until then each console's certificate is pinned on first use.
POLL_INTERVAL 30s How often devices are read. Under 10s is clamped.
REQUEST_TIMEOUT 20s How long one request to a console may take.

Protect

Variable Default What it does
PROTECT_ENABLED true false if you do not run Protect.
PORT_SLEEPS — Switch ports whose computer sleeps: a drop to 100 Mb/s or lower there is expected, and not a slow link. The slow-link alert's button writes it. For example 78:45:58:aa:bb:cc/12, 78:45:58:aa:bb:cc/14.
PROTECT_BOOTSTRAP true false keeps to the supported Protect API, and gives up disk health and NVR temperatures.
PROTECT_HOST — Only when Protect runs on its own console, such as a UNVR. It needs its own credentials. For example https://192.168.1.4.
PROTECT_API_KEY
secret
— An API key made on the Protect console itself.
PROTECT_USERNAME — A local-only, read-only admin on the Protect console. For example telemetry.
PROTECT_PASSWORD
secret
— That admin's password.

WAN and probe

Variable Default What it does
WAN_ENABLED true false if there is no WAN here worth watching.
WAN_POLL_INTERVAL 60s Paces the WAN history reads. The floor is 30s.
WAN_DASHBOARD_SCALE 24h 7d asks the controller for its widest window of outages. One of: 24h, 7d.
SPEEDTEST_INTERVAL 15m How often the speed test history is read again. 0 stops reading it.
BACKFILL_ON_START true false records from now on only, without importing the controller's recent history.
PROBE_TARGETS — Turns the demarcation probe on. wan_next_hop is your ISP's first router, written literally. Never 192.168.100.1. For example lan_gateway=192.168.1.1,wan_next_hop=203.0.113.1,internet_control=1.1.1.1.
PROBE_INTERVAL 60s Time between probe rounds. The floor is 15s.
PROBE_COUNT 10 Echoes per target in each round.
PROBE_TIMEOUT 2s How long each echo is waited for.

Sources

Variable Default What it does
SOURCE_1 … SOURCE_32 — One system, or a comma-separated list of those sharing a login: SNMP switches, UPSes or PDUs on one community or SNMPv3 user, NUT servers, Redfish BMCs or Intel AMT machines on one account. A Proxmox VE slot lists one cluster's nodes. Every other kind takes one address. Over https, a certificate the system doesn't trust is pinned on the first poll; add tls=verify to check it against trusted roots instead, or tls=skip to check nothing. Settings → Add a source writes the line. For example proxmox https://pve1.lab:8006 name=pve-lab user=telemetry@pve!ro.
SOURCE_1_SECRET … SOURCE_32_SECRET
secret
— The token, password, key, BMC password or SNMP community for its slot.
COVERAGE_SKIP_TAG nobackup A Proxmox VE or XCP-ng tag that leaves a VM out of the last-backup check on the Virtualization tab, for a VM meant to have none.
COVERAGE_SKIP — VMs left out of the last-backup check by name, separated by commas; * matches any run of characters. For vCenter VMs, which carry no tags Collimo reads. For example build01, test-*.

What one slot holds

A slot is one login, not one box. Some kinds take several addresses in one slot, separated by commas with no spaces, when they share that login:

Kind One slot holds
proxmox One cluster. List its nodes with commas, so Collimo keeps watching while one reboots. Each cluster needs its own slot.
snmp Every switch on the same SNMP community or SNMPv3 user.
ups Every UPS network card on the same SNMP community or SNMPv3 user.
pdu Every PDU on the same SNMP community or SNMPv3 user.
nut Every NUT server. Each one's UPSes are all read.
redfish Every BMC with the same account.
amt Every Intel AMT machine with the same account.
pbs, vmware, xcpng, veeam, hycu, synology, qnap, truenas, phpipam, netbox One system. A second one takes a second slot, even with the same user.

A comma list takes up to 64 addresses.

Up-checks

Variable Default What it does
CHECKS — Is it up? for anything with an address: ping a host, http a URL, or tcp a host:port, entries separated by ;. Each takes name=, every= (30s, at least 10s) and timeout= (5s). An http check is up on any 2xx or 3xx, or exactly expect=200; add tls=verify to check its certificate. Down after 3 failures in a row. A bad entry is left out and listed under Settings → Sources. For example ping 192.168.1.20 name=printer; http https://nas.lab:5001 name=nas; tcp 10.0.0.5:22 name=ssh.

Renewals

Variable Default What it does
CERT_WATCH — More certificates for the Renewals tab, as host or host:port (443 unless given), separated by commas. Every https source, https up-check and UniFi console is watched already. For example mail.example.com, vpn.example.com:4443.
DOMAINS_WATCH — Domains whose registration end goes on the Renewals tab, separated by commas; empty, none. Looked up once a day over RDAP, which sends each name to its registry's server. For example example.com, example.org.

Tools

Variable Default What it does
TOOLS_SCAN_NETWORKS — Narrows where the Tools tab's port scan may go. Empty, it may reach any private address (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). Only networks inside those count: anything else is left out, never added. For example 192.168.1.0/24, 10.20.0.0/16.

History and archive

Variable Default What it does
RETENTION
stack
13w How long VictoriaMetrics keeps history. Settings → History storage plans it. For example 26w.
LEDGER_RETENTION 8760h How long the archive keeps outages, alerts and events.

License

Variable Default What it does
COLLIMO_LICENSE
secret
— A license key, one line starting COLLIMO1. Required during the private beta; after launch, unset runs the 30-day trial, then Community.

Hub

Variable Default What it does
COLLIMO_ROLE standalone standalone watches one site. For several sites: a collector at each, reporting to one hub that shows them all. One of: standalone, collector, hub.
HUB_URL — On a hub: the address collectors reach it at. It goes into every enrollment code. For example http://collimo-hub.example-tailnet.ts.net:8090.
HUB_ENROLL
secret
— On a collector: the enrollment code made on the hub. It is used once; the site's keys are then kept on the archive volume.
HUB_LINK normal metered on a cellular or satellite link: the snapshot every 5 minutes instead of every minute. Alerts still go at once. One of: normal, metered.
HUB_PROXY — On a collector: an HTTP proxy for its link to the hub alone. http://tailscale:1055 with the Tailscale sidecar, for a hub on your tailnet. For example http://tailscale:1055.

Tailscale

Variable Default What it does
TS_AUTHKEY
secret, stack
— With tailscale in COMPOSE_PROFILES: an auth key from Tailscale's admin console (Settings → Keys), tagged so the device never expires. Used once, at the first start.
TS_HOSTNAME
stack
collimo This stack's name on the tailnet. The dashboard is then at https://..ts.net.

Sign-in

Variable Default What it does
ADMIN_USERNAME admin The local admin's name.
ADMIN_PASSWORD
secret
— Turns sign-in on, free in every edition. At least 12 characters. Changing it: A new admin password signs everyone out.
SESSION_TTL 168h How long a sign-in lasts.
METRICS_TOKEN
secret
— Lets a Prometheus scraper read /metrics with Authorization: Bearer and this token.
SETTINGS_KEY
paid, secret
— Needed for local users and groups; encrypts them on the volume. Keep a copy outside the stack. Changing it: A new key cannot read the users and groups the old one encrypted: they would be lost. Export settings first.

Single sign-on

Variable Default What it does
OIDC_ISSUER
paid
— The provider's issuer URL. Redirect URI: DASHBOARD_URL/auth/oidc/callback. For example https://login.microsoftonline.com/<tenant>/v2.0.
OIDC_CLIENT_ID
paid
— The application's client ID at the provider.
OIDC_CLIENT_SECRET
paid, secret
— The application's client secret.
OIDC_ROLES
paid
— Who gets which role: who:role entries separated by ;. Anyone matching nothing is refused. For example collimo-admins:admin; it-team:operator; @example.com:viewer.
OIDC_NAME
paid
— The button's label: Sign in with … For example Microsoft.
OIDC_SCOPES
paid
— Some providers need groups added. For example openid profile email.
OIDC_GROUPS_CLAIM
paid
— Where the provider puts groups. For example groups.
OIDC_REDIRECT_URL
paid
— Only if it is not DASHBOARD_URL plus /auth/oidc/callback.
LDAP_URL
paid
— ldaps://, or ldap:// with STARTTLS. Plain ldap:// is refused. For example ldaps://dc1.corp.example.
LDAP_STARTTLS
paid
false true for ldap:// with STARTTLS.
LDAP_VERIFY_TLS
paid
true false only to try things out.
LDAP_CA_CERT
paid
— Your internal CA's certificate, when the directory's is not publicly trusted.
LDAP_BIND_DN
paid
— A read-only service account that can search for users. For example CN=svc-collimo,OU=Service,DC=corp,DC=example.
LDAP_BIND_PASSWORD
paid, secret
— That account's password.
LDAP_BASE_DN
paid
— Where to search. For example DC=corp,DC=example.
LDAP_ROLES
paid
— Group DNs to roles, from each user's memberOf, separated by ;. For example CN=Collimo Admins,OU=Groups,DC=corp,DC=example:admin.
LDAP_USER_FILTER
paid
— Covers Active Directory and OpenLDAP as it is. For example (\|(uid={user})(sAMAccountName={user})(userPrincipalName={user})).
LDAP_GROUP_ATTR
paid
— Direct membership only; nested groups are not followed. For example memberOf.

Notification channels

Variable Default What it does
GOTIFY_URL — Your Gotify, or http://gotify for the bundled one. For example http://gotify.
GOTIFY_TOKEN
secret
— An application token from Gotify.
NTFY_URL
secret
— The topic's full URL. On ntfy.sh the topic is the secret, so it is treated as one.
NTFY_TOKEN
secret
— An access token, if the topic needs one.
PUSHOVER_TOKEN
secret
— The application's token.
PUSHOVER_USER
secret
— Your user or group key.
DISCORD_WEBHOOK_URL
secret
— Server settings → Integrations → Webhooks.
SMTP_HOST — The mail server. Email also needs SMTP_FROM and SMTP_TO. For example smtp.example.com.
SMTP_PORT 587 587 for STARTTLS, 465 for TLS.
SMTP_TLS — Unset is starttls, or tls on port 465. A password is never sent unencrypted. One of: starttls, tls, none.
SMTP_USERNAME — If the server needs a sign-in.
SMTP_PASSWORD
secret
— That sign-in's password.
SMTP_FROM — The sender address. For example [email protected].
SMTP_TO — Where to send; several, comma separated. For example [email protected], [email protected].
SMTP_TICKETS — When SMTP_TO is a ticketing system's mailbox: each alert gets one tag for its life, in the subject, and no repeats, summaries or quiet-hours hold. open sends only the first email; all also sends escalations and the clear, for mail rules that update a ticket. One of: open, all.
SLACK_WEBHOOK_URL
paid, secret
— An incoming webhook from a Slack app.
TEAMS_WEBHOOK_URL
paid, secret
— A Workflows webhook: Post to a channel when a webhook request is received.
PAGERDUTY_ROUTING_KEY
paid, secret
— An Events API v2 integration key. Critical alerts only.
WEBHOOK_URL
paid, secret
— JSON to Home Assistant, n8n or anything else.
WEBHOOK_SECRET
paid, secret
— Signs each body: X-Collimo-Signature carries its HMAC.
APPRISE_URL
paid
— An apprise-api server, such as the bundled one. For example http://apprise:8000.
APPRISE_URLS
paid, secret
— The services to notify, as Apprise URLs separated by spaces.
APPRISE_KEY
paid, secret
— A configuration stored on the Apprise server, instead of APPRISE_URLS.

What notifies

Variable Default What it does
NOTIFY_DEFAULT bad The lowest severity that notifies. Settings → Notifications sets it. One of: bad, warn, off.
NOTIFY_RULES — Overrides by tab or alert type. Settings → Notifications writes them. For example wan=warn port_slow=off.
NOTIFY_DELAY 2m Send only if still active this long later.
NOTIFY_ON_CLEAR true Also send when an alert clears.
NOTIFY_REPEAT off Send a critical alert again while it is still active: off, or how often. For example 4h.
NOTIFY_QUIET — Only critical gets through; warnings arrive as one summary after. Read in TZ. For example 22:00-07:00.

Gotify and iGotify

Variable Default What it does
GOTIFY_ADMIN_USER
stack
admin The bundled Gotify's admin.
GOTIFY_ADMIN_PASSWORD
secret
— Set it: unset, the bundled Gotify's admin password is admin. Collimo uses it only to make the collimo-alerts account. Changing it: Gotify reads this only when it first starts. Change the password in Gotify itself.
GOTIFY_ALERTS_PASSWORD
secret
— With the bundled Gotify and no GOTIFY_TOKEN: Collimo makes a collimo-alerts account with this password, and its own app. Everyone who wants alerts signs in to the Gotify app as collimo-alerts. Changing it: Collimo makes the account once. To change the password later, change it in Gotify as well.
GOTIFY_PORT
stack
8091 The bundled Gotify's port on the Docker host.
IGOTIFY_PORT
stack
8092 The bundled iGotify's port on the Docker host.
IGOTIFY_GOTIFY_URLS
stack
http://gotify The Gotify iGotify relays from.
IGOTIFY_CLIENT_TOKENS
secret, stack
— Only when Gotify and iGotify are not on public domains; then set all three.
IGOTIFY_SECNTFY_TOKENS
secret, stack
— Only when Gotify and iGotify are not on public domains; set with IGOTIFY_CLIENT_TOKENS.
APPRISE_PORT
stack
8093 The bundled Apprise's port on the Docker host.

Archive copies

Variable Default What it does
BACKUP_NAME collimo Names this site's backups. Each site sharing a target needs its own; a rebuilt site keeps its name.
BACKUP_KEY
secret
— Encrypts backups. Keep a copy outside the stack: without it an encrypted backup cannot be restored. Changing it: Backups already taken stay under the old key. Keep it, or they cannot be restored.
BACKUP_AT 03:30 When the daily archive backup runs, in TZ.
BACKUP_HISTORY true Also back up history, weekly.
BACKUP_HISTORY_DAY sunday Which day. One of: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
BACKUP_KEEP 14 Archive backups kept on each target.
BACKUP_HISTORY_KEEP 4 History backups kept on each target.
BACKUP_RESTORE auto off never restores by itself into an empty archive. One of: auto, off.

Copies to a share

Variable Default What it does
BACKUP_NFS_SERVER
stack
— With docker-compose.backup-nfs.yml under the stack's Additional paths. For example 192.168.1.20.
BACKUP_NFS_PATH
stack
— The export. For example /volume1/backups.
BACKUP_NFS_OPTIONS
stack
nfsvers=4.1,rw,soft,timeo=150 Mount options.
BACKUP_SMB_SERVER
stack
— With docker-compose.backup-smb.yml under the stack's Additional paths. For example nas.lan.
BACKUP_SMB_SHARE
stack
— The share's name. For example backups.
BACKUP_SMB_USERNAME
stack
— An account that can write to the share.
BACKUP_SMB_PASSWORD
secret, stack
— Its password, with no comma in it.
BACKUP_SMB_VERSION
stack
3.0 The SMB protocol version.

Off-site copies to S3

Variable Default What it does
BACKUP_S3_ENDPOINT
paid
— Wasabi, Backblaze B2, Cloudflare R2, MinIO or AWS. For example s3.us-east-1.wasabisys.com.
BACKUP_S3_REGION
paid
us-east-1 Must match the bucket's region.
BACKUP_S3_BUCKET
paid
— Make the bucket first. For example my-collimo-backups.
BACKUP_S3_PREFIX
paid
collimo The folder in the bucket.
BACKUP_S3_ACCESS_KEY
paid, secret
— A key with list, read, write and delete on that bucket only.
BACKUP_S3_SECRET_KEY
paid, secret
— Its secret.

Inventory

Variable Default What it does
INVENTORY on off stops the daily run; taking one by hand still works. One of: on, off.
INVENTORY_AT
paid
02:30 When the daily run is taken, in TZ.
INVENTORY_KEEP
paid
365 Days of runs to keep; 2557 keeps seven years.
INVENTORY_DB_PASSWORD
paid, secret
— The database writer's password. On its own it uses the stack's postgres profile. Changing it: The stack's own database takes the new password when the stack is redeployed. For a database you run (INVENTORY_DB_URL), change it there too, or the copy stops.
INVENTORY_DB_READER_PASSWORD
paid, secret
— Makes a read-only collimo_reader login for Grafana and Power BI. At least 12 characters.
INVENTORY_DB_URL
paid, secret
— A PostgreSQL you run instead: postgres://user:password@host:5432/database?sslmode=verify-full.
INVENTORY_DB_CA
paid
— Your CA's certificate, for a server whose certificate it signed. Turns on verify-full.
INVENTORY_DB_BIND
stack
127.0.0.1 Where the bundled database listens on the Docker host; 0.0.0.0 for Power BI on another machine.
INVENTORY_DB_PORT
stack
5432 The bundled database's port on the Docker host.

Capacity

Variable Default What it does
CAPACITY_THRESHOLDS
paid
cpu=80,mem=80,disk=85,pool=85 The share of usable capacity forecasts are for, in %, by resource: cpu, mem, disk, pool (Ceph and other replicated storage), and alloc_cpu, alloc_mem, alloc_disk against CAPACITY_RATIOS (100 by default).
CAPACITY_RUNWAY
paid
warn=90,bad=30 Days of runway left at which a forecast warns, and at which it is critical.
CAPACITY_RATIOS
paid
vcpu=4,vmem=1,disk=1.5 Allocation limits: vCPUs per physical core, VM memory per byte of host memory, provisioned disk per byte of capacity.
CAPACITY_ALLOC_ALERTS
paid
— Which allocation forecasts raise runway alerts: any of alloc_cpu, alloc_mem, alloc_disk, comma-separated. Empty: none, and they are shown for planning only, because memory and CPU in use are the alerts. Set alloc_mem if you never overcommit memory. For example alloc_mem.
CAPACITY_VM_SIZE
paid
vcpu=4,mem=16,disk=100 The VM "how many more fit" counts in, memory and disk in GB. The Capacity tab can try others.
CAPACITY_SUMMARY_TO
paid
— Who gets the monthly capacity summary on the 1st, separated by commas, through the SMTP server alert email uses. Its own list: not SMTP_TO. For example [email protected].
CAPACITY_SUMMARY_BY
paid
— A "Prepared by" name on the summary. For example Example IT Services.
CAPACITY_CURRENCY
paid
— The currency the VMware exit report quotes a price in, by default; the report's own form can pick another. Unset is USD. No conversion: the price you enter is in it. One of: USD, GBP, EUR, CAD, INR, BRL, AUD.
CAPACITY_HOST
paid
— The host "What to buy" plans in, memory in GB. Empty: each cluster's largest. For example cores=64,mem=1024.
CAPACITY_DISK_TBW
paid
— Each drive model's rated endurance in terabytes written, from its spec sheet, for disk wear. Drives don't report it; without it Collimo shows what the drive's own wear implies. For example CT1000P310SSD8=220; Samsung SSD 990 PRO 1TB=600.
CAPACITY_HA
paid
— Hosts to keep spare per cluster, by cluster name or source/cluster: usable capacity is then the cluster less its largest hosts. 0 by default. For example Prod=1,lab=0.
CAPACITY_WAN
paid
— Each WAN's download/upload in Mb/s, by its network group (WAN, WAN2), for network capacity. Empty: its best speedtest of the last 30 days; with neither, a WAN is shown and not judged. For example WAN=1000/40,WAN2=300/30.

Assistant

Variable Default What it does
AI_1 … AI_4
paid
— One model the assistant can ask: pick its provider, and the line is written for you.
AI_1_KEY … AI_4_KEY
paid, secret
— The API key for its slot, for a hosted model.
AI_TIMEOUT 5m How long to wait for an answer, unless a slot says timeout=.

Assistant: old single-model settings

Variable Default What it does
AI_PROVIDER
paid
— From before there were slots: one model, used as slot 1 when AI_1 is not set. One of: claude, openai, gemini, xai, llamacpp, lmstudio, ollama, local.
AI_URL
paid
— With AI_PROVIDER: the address of a model you run. For example http://llm.lan:8080/v1.
AI_MODEL
paid
— With AI_PROVIDER: the model's name as the provider lists it. For example claude-opus-5-5.
AI_API_KEY
paid, secret
— With AI_PROVIDER: the provider's API key.
AI_CONTEXT
paid
— With AI_PROVIDER: the context window in tokens, when the provider's own figure is not right. For example 32768.

HMS-Docker

Variable Default What it does
TELEMETRY_HOSTNAME
stack
telemetry.localhost With docker-compose.hms-docker.yml: the dashboard's hostname on Traefik.
GOTIFY_HOSTNAME
stack
gotify.localhost The bundled Gotify's hostname on Traefik.
IGOTIFY_HOSTNAME
stack
igotify.localhost The bundled iGotify's hostname on Traefik.
TRAEFIK_MIDDLEWARES
stack
internal-ipallowlist@file The Traefik middlewares in front of each.