
Netdata
Real-time system telemetry with a web UI and rich charts
Overview
Netdata is a real-time monitoring service for infrastructure metrics. In QuickBox Pro, Netdata is installed as a system service and proxied through nginx, while a companion poller writes bandwidth totals used by the dashboard widgets.
Key features
QuickBox Pro configures Netdata with a local-only web listener and a secure reverse proxy for browser access.
🎯 Local-only listener
netdata.conf binds to localhost with a default port of 19979
🌐 Reverse proxy routes
nginx proxies /netdata/v3/ plus /netdata/api/, /netdata/lib/, and dashboard.js assets
🔐 HTTP basic auth
The UI route /netdata/v3/ is protected by /etc/htpasswd.d/htpasswd.username
📡 Bandwidth poller
qbnetwork runs _qb-poll_netstats every 300 seconds to write /srv/quickbox/db/bandwidth
🧰 Service hardening
Netdata runs as the netdata user with runtime/cache/log directories and a LimitNOFILE=30000 override
🙅 Telemetry opt-out
Installer creates /etc/netdata/.opt-out-from-anonymous-statistics to disable anonymous reporting
When to use it
Use Netdata when you want live system metrics through the QuickBox proxy and a bandwidth widget backed by VNStat.
Symptoms
- Need real-time system metrics and charts from a local daemon
- Want the Netdata UI behind nginx and HTTP basic auth
- Need bandwidth totals sourced from VNStat
- Netdata is an admin-installed service in QuickBox Pro
Resolution
- Netdata listens on localhost and is proxied at
/netdata/v3/ - Basic auth is enforced via
/etc/htpasswd.d/htpasswd.username qbnetworkwrites/srv/quickbox/db/bandwidthfor dashboard usage totals- Install with an admin user using the QuickBox CLI or dashboard controls
Installation
Install from the QuickBox CLI
Netdata is installed through the QuickBox CLI using the Netdata software handler.
CLI Options
-u, --usernameRequiredTarget QuickBox username for install, reinstall, update, or remove
Install from the Dashboard
The dashboard Package Management tab includes Install and Reinstall actions for Netdata. The catalog is filtered by group membership — you will see Netdata if your group includes the Utilities and System category.
Access and authentication
URL / route
Netdata is reverse-proxied at /netdata/v3/ and served through nginx. The proxy also exposes /netdata/api/, /netdata/lib/, /netdata/dashboard.js, /netdata/dashboard.slate.css, and /netdata/dashboard.css for embedded assets.
Login / credentials / tokens
The Netdata UI uses HTTP basic auth and reads credentials from /etc/htpasswd.d/htpasswd.username.
Security notes
The nginx proxy enforces basic auth on /netdata/v3/ while leaving the API and static asset routes unauthenticated for dashboard embedding.
Configuration and files
The Netdata installer templates configuration, systemd units, and nginx proxy routes, then writes bandwidth totals via the poller service.
Common tasks
Use systemd to manage the Netdata and qbnetwork services, and rely on the dashboard port field to confirm the active Netdata port.
Typical workflows:
- Confirm the live port in the Service Control list for Netdata.
- Use
/netdata/v3/in the browser instead of exposing the raw port. - Verify
/srv/quickbox/db/bandwidthupdates if bandwidth tiles appear empty. - Reinstall Netdata to reapply the proxy template.
FAQ
/etc/htpasswd.d/htpasswd.username.qbnetwork service runs _qb-poll_netstats every 300 seconds and writes totals to /srv/quickbox/db/bandwidth.19979 in /etc/netdata/netdata.conf. The dashboard shows the active port in the Netdata service row.localhost. Use the nginx proxy at /netdata/v3/ for browser access.Best practices
Do
- Use
/netdata/v3/instead of exposing the Netdata port - Check
systemctl status netdata qbnetworkafter installs or updates - Keep
/etc/netdata/netdata.confand/etc/nginx/software/netdata.confin sync viaqb reinstall netdata -u username - Inspect
/srv/quickbox/db/bandwidthif bandwidth tiles look empty
Don't
- Do not expose the localhost-only Netdata port directly
- Avoid editing
/etc/nginx/software/netdata.confmanually—reinstall to re-template - Do not delete
/etc/netdata/.opt-out-from-anonymous-statisticsunless you intend to enable telemetry
Troubleshooting
Netdata UI prompts or 401/403
Symptom: The browser keeps prompting for credentials or denies access.
Checks: Confirm /etc/htpasswd.d/htpasswd.username exists and rerun qb reinstall netdata -u username to reapply the proxy template.
Charts missing or stale
Symptom: Charts are blank or stop updating.
Checks: Verify systemctl status netdata qbnetwork, then confirm the bind/port in /etc/netdata/netdata.conf matches the proxy in /etc/nginx/software/netdata.conf.
502/404 at /netdata/v3/
Symptom: The proxy returns 502/404 errors.
Checks: Ensure /usr/share/netdata/web/dashboard.js exists and reload nginx with systemctl reload nginx. If the proxy is missing /netdata/v3/, run qb update netdata -u username.
Resources
Join the Community
Media server operators sharing configs, getting support, and shaping the future of QuickBox Pro.