Netdata

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

netdata is a system for distributed real-time performance and health monitoring. netdata is created by the group that also created FireHOL and FireQOS.

netdata is designed to permanently run on all systems (physical and virtual servers, containers, IoT devices), without disrupting their core function.

Netdata allows to create dashboards of multiple servers, which stream on the fly the data from them to the browser. This functionality is called cloud and available through their website. This service is free of charge.

Installation

Install the netdata package. In case you need the cloud-functionality there is a netdata-cloudAUR package available. If you need the netdata go.d.plugin there is a netdata-go-pluginsAUR package available.

Start/enable the netdata service.

Configuration

Netdata reads its configuration file from /etc/netdata/netdata.conf. This configuration file is not needed by default. Netdata works with the default settings without it, but it does allow you to adapt the general behavior of Netdata. You can find all these settings (and their default values) by accessing the http://localhost:19999/netdata.conf URL.

The plugins folders is at /usr/lib/netdata and their configuration at /usr/lib/netdata/conf.d.

Behind a web server

netdata can be run behind another web server (proxy) and you can configure it accordingly. The netdata documentation has examples for Apache, Nginx, lighttpd, haproxy and caddy.

Built-in web server

netdata is accessible at http://localhost:19999/ by default.

To enable remote IPv4 (0.0.0.0) and IPv6 ([::]) access, edit /etc/netdata/netdata.conf:

[web]
    bind to = 0.0.0.0 [::]

Telemetry

Netdata collects anonymous usage information through Google Analytics by default. To opt out of this telemetry functionality, create the following configuration file:

# touch /etc/netdata/.opt-out-from-anonymous-statistics

More details on the data gathered can be found here.

Optimization

netdata can be optimized for:

  1. Low resources
  2. High performance
  3. IoT

See also