Skip to content

Netdata Monitoring

To claim your Netdata node when prompted in the webpage, run this command:

Terminal window
docker exec -it netdata cat /var/lib/netdata/netdata_random_session_id

Since Netdata uses the host network mode, it cannot be connected to Traefik via the Docker internal network which results in it not being “auto-discovered” by Traefik.

Instead, you will have to treat it as an “external service” to Traefik. More documentation is available in the External Services Traefik documentation for configuring external services, but the below should help.

In inventory/group_vars/all/reverse_proxy.yml (traefik.yml until you run make update), set hmsdocker_proxy_ext_hosts_enabled to yes and uncomment the lines in hmsdocker_proxy_ext_hosts_list that are related to Netdata (like below):

inventory/group_vars/all/reverse_proxy.yml
...
{
friendly_name: netdata,
subdomain_name: netdata,
backend_url: "http://netdata.{{ hmsdocker_domain }}:19999",
enabled: yes,
expose_publicly: no,
authentik: no,
authentik_provider_type: proxy
}