OPNsense-Exporter

OPNsense-Exporter

Aplicación Docker from Florian Dambrine's Repository

Visión general

OPNsense Exporter - Prometheus exporter for OPNsense firewalls. Collects and exposes metrics from OPNsense via its REST API, including ARP tables, DNS (Unbound), WireGuard, OpenVPN, IPsec, firewall statistics, and firmware information.

Argumentos en tiempo de ejecución

Interfaz web
http://[IP]:[PORT:8080]/metrics
Red
bridge
Privilegiado
false

Configuración de plantillas

Metrics PortPorttcp

Port on which the /metrics endpoint is exposed for Prometheus scraping.

Objetivo
8080
Por defecto
8080
Valor
8080
OPNsense ProtocolVariable

Protocol used to reach the OPNsense API. Use 'https' (recommended) or 'http'.

Objetivo
OPNSENSE_EXPORTER_OPS_PROTOCOL
Por defecto
https
Valor
https
OPNsense AddressVariable

Hostname or IP address of the OPNsense firewall (e.g. 192.168.1.1 or opnsense.lan). Do NOT include the protocol prefix.

Objetivo
OPNSENSE_EXPORTER_OPS_API
OPNsense API KeyVariable

API key generated for the read-only OPNsense user (System > Access > Users).

Objetivo
OPNSENSE_EXPORTER_OPS_API_KEY
OPNsense API SecretVariable

API secret generated for the read-only OPNsense user (System > Access > Users).

Objetivo
OPNSENSE_EXPORTER_OPS_API_SECRET
Skip TLS VerificationVariable

Set to 'true' to disable TLS certificate verification (useful for self-signed certs). Not recommended in production.

Objetivo
OPNSENSE_EXPORTER_OPS_INSECURE
Por defecto
false
Valor
false
Instance LabelVariable

Label added to all metrics to identify this OPNsense instance. Useful when scraping multiple firewalls.

Objetivo
OPNSENSE_EXPORTER_INSTANCE_LABEL
Por defecto
opnsense
Valor
opnsense
Log LevelVariable

Log verbosity. Options: debug, info, warn, error.

Objetivo
OPNSENSE_EXPORTER_LOG_LEVEL
Por defecto
info
Valor
info
Disable ARP TableVariable

Set to 'true' to disable ARP table metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_ARP_TABLE
Por defecto
false
Valor
false
Disable Unbound DNSVariable

Set to 'true' to disable Unbound DNS metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_UNBOUND
Por defecto
false
Valor
false
Disable WireGuardVariable

Set to 'true' to disable WireGuard VPN metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_WIREGUARD
Por defecto
false
Valor
false
Disable OpenVPNVariable

Set to 'true' to disable OpenVPN metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_OPENVPN
Por defecto
false
Valor
false
Disable IPsecVariable

Set to 'true' to disable IPsec VPN metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_IPSEC
Por defecto
false
Valor
false
Disable FirewallVariable

Set to 'true' to disable firewall statistics metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_FIREWALL
Por defecto
false
Valor
false
Disable FirmwareVariable

Set to 'true' to disable firmware information metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_FIRMWARE
Por defecto
false
Valor
false
Disable Cron TableVariable

Set to 'true' to disable cron task metric collection.

Objetivo
OPNSENSE_EXPORTER_DISABLE_CRON_TABLE
Por defecto
false
Valor
false
Disable Exporter MetricsVariable

Set to 'true' to exclude internal Go/process metrics from the /metrics output.

Objetivo
OPNSENSE_EXPORTER_DISABLE_EXPORTER_METRICS
Por defecto
false
Valor
false

Detalles

Repositorio
ghcr.io/athennamind/opnsense-exporter
Última actualización2026-05-31
Visto por primera vez2026-04-07

Ejecute OPNsense-Exporter en Unraid.

OPNsense-Exporter se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.