install on raspberry pi zero w v1

Problem/Question

I installed netdata on my zero via the kickstart script
wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh

When the command finishes I can not access the dashboard on my pi zero.

Relevant docs you followed/actions you took to solve the issue

I tried checking the logs under
/opt/netdata/var/log/netdata
but they are all empty.
also checking systemctl :
systemctl status netdata
but this only gives me this information:

● netdata.service - Real time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: signal) since Sun 2024-03-03 17:49:30 CET; 20s ago
    Process: 1416 ExecStartPre=/bin/mkdir -p /opt/netdata/var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 1418 ExecStartPre=/bin/chown -R netdata /opt/netdata/var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 1419 ExecStartPre=/bin/mkdir -p /run/netdata (code=exited, status=0/SUCCESS)
    Process: 1420 ExecStartPre=/bin/chown -R netdata /run/netdata (code=exited, status=0/SUCCESS)
    Process: 1421 ExecStart=/opt/netdata/usr/sbin/netdata -P /run/netdata/netdata.pid -D (code=killed, signal=ILL)
   Main PID: 1421 (code=killed, signal=ILL)
        CPU: 848ms

I see that the last one gets killed but I do not know why.
Accessing the ip address only navigates me to a nginx welcome page.

Environment/Browser/Agent’s version etc

The image I installed on my sd card is the minimal one recommended by the raspberry pi imager tool for the zero w 1(again the headless variant)

What I expected to happen

I expected to be able to start configuring the netdata settings after the script finished and I navigated to the 19999 endpoint.

I want to monitor the internet connection and ping some servers (not in my local network) trying to understand some outtage problems/spikes during some work which are happening and resulting in high lag. Also the dashboard from netdata would be helpfull since it is not only for me and having something visual would be very nice. Also I would love to use the pi zero w1 since it does not get affected by the main system, and it is also connected via ethernet

I appreciate your help.


here the console log from the kickstart script (re -run)

@pizero:/opt/netdata/var/log/netdata $ wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh
--2024-03-03 18:10:50--  https://get.netdata.cloud/kickstart.sh
Resolving get.netdata.cloud (get.netdata.cloud)... 2606:4700:20::ac43:48aa, 2606:4700:20::681a:88d, 2606:4700:20::681a:98d, ...
Connecting to get.netdata.cloud (get.netdata.cloud)|2606:4700:20::ac43:48aa|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88230 (86K) [application/octet-stream]
Saving to: ‘/tmp/netdata-kickstart.sh’

/tmp/netdata-kickstart.sh                                 100%[====================================================================================================================================>]  86.16K  --.-KB/s    in 0.05s

2024-03-03 18:10:52 (1.85 MB/s) - ‘/tmp/netdata-kickstart.sh’ saved [88230/88230]


 --- Using /tmp/netdata-kickstart-PLT8W4Bpty as a temporary directory. ---
 --- Checking for existing installations of Netdata... ---
 --- Found an existing netdata install at /opt/netdata, with installation type 'kickstart-static'. ---
Root privileges required to run test -x /opt/netdata/usr/libexec/netdata/netdata-updater.sh
[/tmp/netdata-kickstart-PLT8W4Bpty]$ sudo test -x /opt/netdata/usr/libexec/netdata/netdata-updater.sh
 OK

[/tmp/netdata-kickstart-PLT8W4Bpty]$ sudo /opt/netdata/usr/libexec/netdata/netdata-updater.sh --interactive --not-running-from-cron
Sun  3 Mar 18:10:53 CET 2024 : INFO: netdata-updater.sh:  Checking if a newer version of the updater script is available.
Sun  3 Mar 18:10:55 CET 2024 : INFO: netdata-updater.sh:  Entering /tmp/netdata-updater-4KM2TcLot4
Sun  3 Mar 18:10:55 CET 2024 : INFO: netdata-updater.sh:  Current Version: 00104400000442
Sun  3 Mar 18:10:55 CET 2024 : INFO: netdata-updater.sh:  Latest Version: 00104400000442
Sun  3 Mar 18:10:55 CET 2024 : INFO: netdata-updater.sh:  Newest version (current=00104400000442 >= latest=00104400000442) is already installed
Sun  3 Mar 18:10:55 CET 2024 : INFO: netdata-updater.sh:  Switching back to /tmp/netdata-kickstart-PLT8W4Bpty
 OK

 --- Updated existing install at /opt/netdata ---
 --- Successfully updated existing netdata install at /opt/netdata. ---
 --- Not attempting to claim existing install at /opt/netdata (no claiming token provided). ---
To view your system's real-time performance metrics, open your web browser and enter http://NODE:19999.
Replace NODE with the IP address or hostname of your Netdata server to access the dashboard.

Official documentation can be found online at https://learn.netdata.cloud/docs/.

Looking to monitor all of your infrastructure with Netdata? Check out Netdata Cloud at https://app.netdata.cloud.

Join our community and connect with us on:
  - GitHub: https://github.com/netdata/netdata/discussions
  - Discord: https://discord.gg/5ygS846fR6
  - Our community forums: https://community.netdata.cloud/
Root privileges required to run rm -rf /tmp/netdata-kickstart-PLT8W4Bpty
[/home/usr]$ sudo rm -rf /tmp/netdata-kickstart-PLT8W4Bpty
 OK


and here the original log:

 wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh
--2024-03-03 17:17:51--  https://get.netdata.cloud/kickstart.sh
Resolving get.netdata.cloud (get.netdata.cloud)... 2606:4700:20::681a:88d, 2606:4700:20::ac43:48aa, 2606:4700:20::681a:98d, ...
Connecting to get.netdata.cloud (get.netdata.cloud)|2606:4700:20::681a:88d|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88230 (86K) [application/octet-stream]
Saving to: ‘/tmp/netdata-kickstart.sh’

/tmp/netdata-kickst 100%[===================>]  86.16K  --.-KB/s    in 0.04s

2024-03-03 17:17:52 (1.90 MB/s) - ‘/tmp/netdata-kickstart.sh’ saved [88230/88230]


 --- Using /tmp/netdata-kickstart-U2S5RwH98G as a temporary directory. ---
 --- Checking for existing installations of Netdata... ---
 --- No existing installations of netdata found, assuming this is a fresh install. ---
 WARNING  Unable to determine Linux distribution for native packages.

 WARNING  Could not install native binary packages, falling back to alternative installation method.

[/tmp/netdata-kickstart-U2S5RwH98G]$ sh -c /usr/bin/curl https://github.com/netdata/netdata-nightlies/releases/latest -s -L -I -o /dev/null -w '%{url_effective}' | grep -Eo '[^/]+$'
 OK

 --- Attempting to install using static build... ---
[/tmp/netdata-kickstart-U2S5RwH98G]$ /usr/bin/curl --fail -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-U2S5RwH98G/netdata-armv6l-latest.gz.run https://github.com/netdata/netdata-nightlies/releases/download/v1.44.0-442-nightly/netdata-armv6l-latest.gz.run
 OK

[/tmp/netdata-kickstart-U2S5RwH98G]$ /usr/bin/curl --fail -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-U2S5RwH98G/sha256sum.txt https://github.com/netdata/netdata-nightlies/releases/download/v1.44.0-442-nightly/sha256sums.txt
 OK

 --- Installing netdata ---
Root privileges required to run sh /tmp/netdata-kickstart-U2S5RwH98G/netdata-armv6l-latest.gz.run --
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo sh /tmp/netdata-kickstart-U2S5RwH98G/netdata-armv6l-latest.gz.run --

  ^
  |.-.   .-.   .-.   .-.   .  netdata
  |   '-'   '-'   '-'   '-'   real-time performance monitoring, done right!
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

  (C) Copyright 2017-2023, Costa Tsaousis
  All rights reserved
  Released under GPL v3+

  You are about to install netdata to this system.
  netdata will be installed at:

                    /opt/netdata

  The following changes will be made to your system:

  # USERS / GROUPS
  User 'netdata' and group 'netdata' will be added, if not present.

  # LOGROTATE
  This file will be installed if logrotate is present.

   - /etc/logrotate.d/netdata

  # SYSTEM INIT
  If a supported init system is detected, appropriate configuration will be
  installed to allow Netdata to run as a system service. We currently support
  systemd, OpenRC, LSB init scripts, and traditional init.d setups, as well as
  having experimental support for runit.


  This package can also update a netdata installation that has been
  created with another version of it.

  Your netdata configuration will be retained.
  After installation, netdata will be (re-)started.

  netdata re-distributes a lot of open source software components.
  Check its full license at:

...skipping 1 line
Please type y to accept, n otherwise: ^[[B^[[By
Please type y to accept, n otherwise: y
Creating directory /opt/netdata
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing netdata, the real-time performance and health monitoring system  100%
 --- Attempt to create user/group netdata/netadata ---
Adding netdata user group ...
[/opt/netdata]# groupadd -r netdata
 OK  ''

Adding netdata user account with home /opt/netdata ...
[/opt/netdata]# useradd -r -g netdata -c netdata -s /usr/sbin/nologin --no-create-home -d /opt/netdata netdata
 OK  ''

 --- Add user netdata to required user groups ---
Adding netdata user to the docker group ...
[/opt/netdata]# usermod -a -G docker netdata
 OK  ''

Group 'nginx' does not exist.
Group 'varnish' does not exist.
Group 'haproxy' does not exist.
Adding netdata user to the adm group ...
[/opt/netdata]# usermod -a -G adm netdata
 OK  ''

Group 'nsd' does not exist.
Adding netdata user to the proxy group ...
[/opt/netdata]# usermod -a -G proxy netdata
 OK  ''

Group 'squid' does not exist.
Group 'ceph' does not exist.
Group 'nobody' does not exist.
Group 'I2C' does not exist.
 --- Install logrotate configuration for netdata ---
[/opt/netdata]# cp /opt/netdata/usr/lib/netdata/system/logrotate/netdata /etc/logrotate.d/netdata
 OK  ''

[/opt/netdata]# chmod 644 /etc/logrotate.d/netdata
 OK  ''

 --- Telemetry configuration ---
You can opt out from anonymous statistics via the --disable-telemetry option, or by creating an empty file /opt/netdata/etc/netdata/.opt-out-from-anonymous-statistics

 --- Install netdata at system init ---
Installing systemd service...
Created symlink /etc/systemd/system/multi-user.target.wants/netdata.service -> /lib/systemd/system/netdata.service.
 --- Install (but not enable) netdata updater tool ---
Update script is located at /opt/netdata/usr/libexec/netdata/netdata-updater.sh

 --- creating quick links ---
[/opt/netdata]# ln -s bin sbin
 OK  ''

[/opt/netdata/usr]# ln -s ../bin bin
 OK  ''

[/opt/netdata/usr]# ln -s ../bin sbin
 OK  ''

[/opt/netdata/usr]# ln -s . local
 OK  ''

[/opt/netdata]# ln -s etc/netdata netdata-configs
 OK  ''

[/opt/netdata]# ln -s usr/share/netdata/web netdata-web-files
 OK  ''

[/opt/netdata]# ln -s usr/libexec/netdata netdata-plugins
 OK  ''

[/opt/netdata]# ln -s var/lib/netdata netdata-dbs
 OK  ''

[/opt/netdata]# ln -s var/cache/netdata netdata-metrics
 OK  ''

[/opt/netdata]# ln -s var/log/netdata netdata-logs
 OK  ''

[/opt/netdata/etc/netdata]# rm orig
 OK  ''

[/opt/netdata/etc/netdata]# ln -s ../../usr/lib/netdata/conf.d orig
 OK  ''

 --- fix permissions ---
[/opt/netdata]# chmod g+rx,o+rx /opt
 OK  ''

[/opt/netdata]# find /opt/netdata -type d -exec chmod go+rx {} +
 OK  ''

[/opt/netdata]# chown -R netdata:netdata /opt/netdata/var
 OK  ''

 --- changing plugins ownership and permissions ---
[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ndsudo
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/apps.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/perf.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/slabinfo.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/debugfs.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ioping
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/cgroup-network
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/local-listeners
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/network-viewer.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ebpf.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/nfacct.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/python.d.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/charts.d.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/go.d.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/ioping.plugin
 OK  ''

[/opt/netdata]# chown root:netdata usr/libexec/netdata/plugins.d/cgroup-network-helper.sh
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search,cap_sys_ptrace=ep usr/libexec/netdata/plugins.d/apps.plugin
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search=ep usr/libexec/netdata/plugins.d/slabinfo.plugin
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search=ep usr/libexec/netdata/plugins.d/debugfs.plugin
 OK  ''

[/opt/netdata]# setcap cap_perfmon=ep usr/libexec/netdata/plugins.d/perf.plugin
 OK  ''

[/opt/netdata]# setcap cap_dac_read_search+epi cap_net_admin+epi cap_net_raw=eip usr/libexec/netdata/plugins.d/go.d.plugin
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/ioping
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/cgroup-network
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/local-listeners
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/network-viewer.plugin
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/ebpf.plugin
 OK  ''

[/opt/netdata]# chmod 4750 usr/libexec/netdata/plugins.d/nfacct.plugin
 OK  ''

Configure TLS certificate paths
Using /etc/ssl for TLS configuration and certificates
Save install options
 --- starting netdata ---
 --- Restarting netdata instance ---

Stopping all netdata threads
[/opt/netdata]# stop_all_netdata
 OK  ''

Starting netdata using command 'systemctl start netdata'
[/opt/netdata]# systemctl start netdata
 OK  ''

Ooops! it seems netdata is not started.
Attempting another netdata start using command 'systemctl start netdata'
[/opt/netdata]# systemctl start netdata
 OK  ''

Hm... it seems netdata is still not started.
 WARNING  Netdata service still not started, attempting another forced restart by running '/opt/netdata/bin/netdata '

[/opt/netdata]# stop_all_netdata
 OK  ''

[/opt/netdata]# /opt/netdata/bin/netdata
time=2024-03-03T17:19:43.364+01:00 comm=netdata source=daemon level=info errno="2, No such file or directory" tid=1430 thread=netdata msg="CONFIG: cannot load user config '/opt/netdata/etc/netdata/netdata.conf'. Will try the stock version."
time=2024-03-03T17:19:43.366+01:00 comm=netdata source=daemon level=info errno="2, No such file or directory" tid=1430 thread=netdata msg="CONFIG: cannot load stock config '/opt/netdata/usr/lib/netdata/conf.d/netdata.conf'. Running with internal defaults."
time=2024-03-03T17:19:43.368+01:00 comm=netdata source=daemon level=info errno="2, No such file or directory" tid=1430 thread=netdata msg="CONFIG: cannot load cloud config '/opt/netdata/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults."
system/functions.sh: line 458:  1430 Illegal instruction     "${@}"
 FAILED  ''


  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata  .-.   .-.   .-.   .-.   .-.   .-
  |   '-'   '-'   '-'   '-'   '-'               '-'   '-'   '-'   '-'   '-'
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

[/opt/netdata]# chmod 0644 /opt/netdata/etc/netdata/netdata.conf
 OK  ''

 OK

Root privileges required to run sh -c cat "/opt/netdata/etc/netdata/.install-type" > "/tmp/netdata-kickstart-U2S5RwH98G/install-type"
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo sh -c cat "/opt/netdata/etc/netdata/.install-type" > "/tmp/netdata-kickstart-U2S5RwH98G/install-type"
 OK

Root privileges required to run chown 1000:1000 /tmp/netdata-kickstart-U2S5RwH98G/install-type
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo chown 1000:1000 /tmp/netdata-kickstart-U2S5RwH98G/install-type
 OK

Root privileges required to run chown netdata:netdata /tmp/netdata-kickstart-U2S5RwH98G/install-type
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo chown netdata:netdata /tmp/netdata-kickstart-U2S5RwH98G/install-type
 OK

Root privileges required to run cp /tmp/netdata-kickstart-U2S5RwH98G/install-type /opt/netdata/etc/netdata/.install-type
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo cp /tmp/netdata-kickstart-U2S5RwH98G/install-type /opt/netdata/etc/netdata/.install-type
 OK

Root privileges required to run test -x /opt/netdata/usr/libexec/netdata/netdata-updater.sh
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo test -x /opt/netdata/usr/libexec/netdata/netdata-updater.sh
 OK

Root privileges required to run grep -q \-\-enable-auto-updates /opt/netdata/usr/libexec/netdata/netdata-updater.sh
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo grep -q \-\-enable-auto-updates /opt/netdata/usr/libexec/netdata/netdata-updater.sh
 OK

Root privileges required to run /opt/netdata/usr/libexec/netdata/netdata-updater.sh --enable-auto-updates
[/tmp/netdata-kickstart-U2S5RwH98G]$ sudo /opt/netdata/usr/libexec/netdata/netdata-updater.sh --enable-auto-updates
Sun  3 Mar 17:19:44 CET 2024 : INFO: netdata-updater.sh:  Auto-updating has been ENABLED through cron, updater script linked to /etc/cron.daily/netdata-updater

Sun  3 Mar 17:19:44 CET 2024 : INFO: netdata-updater.sh:  If the update process fails and you have email notifications set up correctly for cron on this system, you should receive an email notification of the failure.
Sun  3 Mar 17:19:44 CET 2024 : INFO: netdata-updater.sh:  Successful updates will not send an email.
 OK

Successfully installed the Netdata Agent.

The following non-fatal warnings or errors were encountered:

  - Unable to determine Linux distribution for native packages.
  - Could not install native binary packages, falling back to alternative installation method.

To view your system's real-time performance metrics, open your web browser and enter http://NODE:19999.
Replace NODE with the IP address or hostname of your Netdata server to access the dashboard.

Official documentation can be found online at https://learn.netdata.cloud/docs/.

Looking to monitor all of your infrastructure with Netdata? Check out Netdata Cloud at https://app.netdata.cloud.

Join our community and connect with us on:
  - GitHub: https://github.com/netdata/netdata/discussions
  - Discord: https://discord.gg/5ygS846fR6
  - Our community forums: https://community.netdata.cloud/
Root privileges required to run rm -rf /tmp/netdata-kickstart-U2S5RwH98G
[/home/usr]$ sudo rm -rf /tmp/netdata-kickstart-U2S5RwH98G
 OK

me too. i think maybe bc 32 bit

but i can get it to show up as a node on another client on same lan. but shows as unconfigured.

its werid bc it doesnt build anything /etc/netdata for me.

it was because i had to change this from its default to the actual IP address to view from other client:

“To limit access to Netdata only from localhost, set bind socket to IP = 127.0.0.1 or bind socket to IP = ::1 in /etc/netdata/netdata.conf.”