{"id":5978,"date":"2026-07-11T08:47:58","date_gmt":"2026-07-11T12:47:58","guid":{"rendered":"https:\/\/dft.wiki\/?p=5978"},"modified":"2026-07-14T16:17:33","modified_gmt":"2026-07-14T20:17:33","slug":"agent-based-system-monitoring-with-netdata","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=5978","title":{"rendered":"Agent Based System Monitoring with NetData"},"content":{"rendered":"<p><strong style=\"color: #737373; font-size: 1rem;\">NetData<\/strong><span style=\"color: #737373; font-size: 1rem;\"> is an open-source, real-time infrastructure monitoring platform capable of detecting and acting on events [<a href=\"https:\/\/github.com\/netdata\/netdata\">Link<\/a>].<\/span><\/p>\n<p><strong>Installation<\/strong><\/p>\n<pre>wget -O \/tmp\/netdata-kickstart.sh https:\/\/get.netdata.cloud\/kickstart.sh &amp;&amp; sudo sh \/tmp\/netdata-kickstart.sh --non-interactive --auto-update --disable-telemetry --disable-cloud<\/pre>\n<p>Disable open sign-up.<\/p>\n<pre>sudo \/etc\/netdata\/edit-config netdata.conf<\/pre>\n<pre>ini[registry]\r\n    enabled = no<\/pre>\n<p>Disable cloud integration.<\/p>\n<pre>sudo \/etc\/netdata\/edit-config cloud.conf<\/pre>\n<pre>[global]\r\n    enabled = no<\/pre>\n<p>Lock the UI to a reverse proxy running on localhost.<\/p>\n<pre>sudo \/etc\/netdata\/edit-config netdata.conf<\/pre>\n<pre>[web]\r\n    bind to = 127.0.0.1<\/pre>\n<p>Apply all changes.<\/p>\n<pre>bashsudo systemctl restart netdata<\/pre>\n<p>Check the runtime configuration.<\/p>\n<pre>curl http:\/\/localhost:19999\/netdata.conf<\/pre>\n<p>Configure NGINX as the reverse proxy with TLS certificates from Let&#8217;s Encrypt and Basic Auth at the edge.<\/p>\n<pre>sudo apt install nginx certbot python3-certbot-nginx -y\r\nnano \/etc\/nginx\/sites-enabled\/default<\/pre>\n<pre>server {\r\n  listen 80 default_server;\r\n  # (...)\r\n  location \/ {\r\n    auth_basic \"<strong>NetData<\/strong>\";\r\n    auth_basic_user_file \/etc\/nginx\/.<strong>netdata_htpasswd<\/strong>;\r\n    proxy_pass http:\/\/127.0.0.1:<strong>19999<\/strong>;\r\n    proxy_set_header Host $host;\r\n  }\r\n  # (...)\r\n}<\/pre>\n<p>Create an account.<\/p>\n<pre>sudo htpasswd -c \/etc\/nginx\/.<strong>netdata_htpasswd<\/strong> <strong>administrator<\/strong>\r\n# Set a password when prompted.\r\nsudo nginx -t &amp;&amp; sudo nginx -s reload<\/pre>\n<p>Issue the certificate for the domain or subdomain pointing to this server. Only port 80 needs to be publicly reachable.<\/p>\n<pre>certbot --nginx --non-interactive --agree-tos --redirect --email devops@<strong>example.com<\/strong> -d netdata.<strong>example.com<\/strong><\/pre>\n<p>Navigate to the web UI to create a new account. Since cloud integration and open sign-up were disabled, the administrator will be prompted for a single-use token. Retrieve it with:<\/p>\n<pre>sudo cat \/var\/lib\/netdata\/netdata_random_session_id<\/pre>\n<hr \/>\n<p><strong>SEE ALSO<\/strong><\/p>\n<p>Monitoring with Prometheus and Grafana [<a href=\"https:\/\/dft.wiki\/?p=2456\">Link<\/a>].<\/p>\n<p>Endpoint Security with Wazuh [<a href=\"https:\/\/dft.wiki\/?p=3964\">Link<\/a>].<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NetData is an open-source, real-time infrastructure monitoring platform capable of detecting and acting on events [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-5978","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/5978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5978"}],"version-history":[{"count":2,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/5978\/revisions"}],"predecessor-version":[{"id":5981,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/5978\/revisions\/5981"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}