Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@xxxx:~# wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh --nightly-channel --claim-token xxxxxxx --claim-rooms xxxxxxx --claim-url https://app.netdata.cloud
- --2025-01-22 10:31:20-- https://get.netdata.cloud/kickstart.sh
- Resolving get.netdata.cloud (get.netdata.cloud)... 2606:4700:10::6816:4fe5, 2606:4700:10::ac43:24ac, 2606:4700:10::6816:4ee5, ...
- Connecting to get.netdata.cloud (get.netdata.cloud)|2606:4700:10::6816:4fe5|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 94287 (92K) [application/octet-stream]
- Saving to: ‘/tmp/netdata-kickstart.sh’
- /tmp/netdata-kickstart.sh 100%[========================================================================================================================================================================================>] 92.08K --.-KB/s in 0.004s
- 2025-01-22 10:31:20 (24.7 MB/s) - ‘/tmp/netdata-kickstart.sh’ saved [94287/94287]
- --- Using /tmp/netdata-kickstart-pgCIuOHIGx as a temporary directory. ---
- --- Checking for existing installations of Netdata... ---
- --- No existing installations of netdata found, assuming this is a fresh install. ---
- --- Attempting to install using native packages... ---
- --- Checking for availability of repository configuration package. ---
- [/tmp/netdata-kickstart-pgCIuOHIGx]# /usr/bin/curl --fail -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo-edge_4-1+debian12_all.deb
- OK
- [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get update
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Hit:4 https://download.docker.com/linux/debian bookworm InRelease
- Hit:5 https://packages.sury.org/php bookworm InRelease
- Hit:6 https://mirrors.xtom.de/mariadb/repo/11.4/debian bookworm InRelease
- Get:7 http://security.debian.org/debian-security bookworm-security/main Sources [135 kB]
- Get:8 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [241 kB]
- Get:9 http://security.debian.org/debian-security bookworm-security/main Translation-en [142 kB]
- Hit:10 http://nginx.org/packages/debian bookworm InRelease
- Hit:11 https://packages.redis.io/deb bookworm InRelease
- Hit:12 https://packagecloud.io/crowdsec/crowdsec/any any InRelease
- Fetched 622 kB in 1s (641 kB/s)
- Reading package lists... Done
- OK
- [/tmp/netdata-kickstart-pgCIuOHIGx]# find /var/cache/apt/archives -type f -name netdata*.deb -delete
- OK
- [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get install /tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- Note, selecting 'netdata-repo-edge' instead of '/tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb'
- The following packages were automatically installed and are no longer required:
- fonts-font-awesome fonts-glyphicons-halflings libjs-bootstrap libnetfilter-acct1 python3-yaml
- Use 'apt autoremove' to remove them.
- The following NEW packages will be installed:
- netdata-repo-edge
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0 B/3,362 B of archives.
- After this operation, 27.6 kB of additional disk space will be used.
- Get:1 /tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb netdata-repo-edge all 4-1 [3,362 B]
- Selecting previously unselected package netdata-repo-edge.
- (Reading database ... 42283 files and directories currently installed.)
- Preparing to unpack .../netdata-repo-edge_4-1+debian12_all.deb ...
- Unpacking netdata-repo-edge (4-1) ...
- Setting up netdata-repo-edge (4-1) ...
- N: Download is performed unsandboxed as root as file '/tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
- OK
- [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get update
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
- Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
- Hit:4 http://nginx.org/packages/debian bookworm InRelease
- Hit:5 https://download.docker.com/linux/debian bookworm InRelease
- Hit:6 https://packages.sury.org/php bookworm InRelease
- Hit:7 https://mirrors.xtom.de/mariadb/repo/11.4/debian bookworm InRelease
- Get:8 http://repository.netdata.cloud/repos/edge/debian bookworm/ InRelease [1,326 B]
- Hit:9 https://packages.redis.io/deb bookworm InRelease
- Get:10 http://repository.netdata.cloud/repos/repoconfig/debian bookworm/ InRelease [1,311 B]
- Hit:11 https://packagecloud.io/crowdsec/crowdsec/any any InRelease
- Get:12 http://repository.netdata.cloud/repos/edge/debian bookworm/ Packages [147 kB]
- Get:13 http://repository.netdata.cloud/repos/repoconfig/debian bookworm/ Packages [1,636 B]
- Fetched 151 kB in 1s (133 kB/s)
- Reading package lists... Done
- OK
- [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get install netdata
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following additional packages will be installed:
- netdata-core netdata-plugins-bash netdata-plugins-python netdata-web
- Suggested packages:
- apcupsd iw lm-sensors nc fping python3-psycopg2 python3-pymysql
- The following NEW packages will be installed:
- netdata netdata-core netdata-plugins-bash netdata-plugins-python netdata-web
- 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
- Need to get 10.0 MB of archives.
- After this operation, 38.2 MB of additional disk space will be used.
- Do you want to continue? [Y/n]
- Get:1 http://deb.debian.org/debian bookworm/main amd64 netdata-core amd64 1.37.1-2 [1,553 kB]
- Get:2 http://deb.debian.org/debian bookworm/main amd64 netdata-plugins-bash all 1.37.1-2 [753 kB]
- Get:3 http://deb.debian.org/debian bookworm/main amd64 netdata-web all 1.37.1-2 [7,563 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 netdata all 1.37.1-2 [23.9 kB]
- Get:5 http://deb.debian.org/debian bookworm/main amd64 netdata-plugins-python all 1.37.1-2 [141 kB]
- Fetched 10.0 MB in 0s (97.9 MB/s)
- Selecting previously unselected package netdata-core.
- (Reading database ... 42285 files and directories currently installed.)
- Preparing to unpack .../netdata-core_1.37.1-2_amd64.deb ...
- Unpacking netdata-core (1.37.1-2) ...
- Selecting previously unselected package netdata-plugins-bash.
- Preparing to unpack .../netdata-plugins-bash_1.37.1-2_all.deb ...
- Unpacking netdata-plugins-bash (1.37.1-2) ...
- Selecting previously unselected package netdata-web.
- Preparing to unpack .../netdata-web_1.37.1-2_all.deb ...
- Unpacking netdata-web (1.37.1-2) ...
- Selecting previously unselected package netdata.
- Preparing to unpack .../netdata_1.37.1-2_all.deb ...
- Unpacking netdata (1.37.1-2) ...
- Selecting previously unselected package netdata-plugins-python.
- Preparing to unpack .../netdata-plugins-python_1.37.1-2_all.deb ...
- Unpacking netdata-plugins-python (1.37.1-2) ...
- Setting up netdata-core (1.37.1-2) ...
- Created symlink /etc/systemd/system/multi-user.target.wants/netdata.service → /lib/systemd/system/netdata.service.
- Setting up netdata-plugins-bash (1.37.1-2) ...
- Setting up netdata-plugins-python (1.37.1-2) ...
- Setting up netdata-web (1.37.1-2) ...
- Setting up netdata (1.37.1-2) ...
- Processing triggers for man-db (2.11.2-2) ...
- OK
- --- Attempting to claim agent to https://app.netdata.cloud ---
- 331967
- 331971
- [/tmp/netdata-kickstart-pgCIuOHIGx]# /usr/sbin/netdata-claim.sh -token=xxxxxxx -rooms=xxxxxxx -url=https://app.netdata.cloud
- This agent was built with --disable-cloud and cannot be claimed
- FAILED
- WARNING Unable to claim node due to missing dependencies. Usually this means that the Netdata Agent was built without support for Netdata Cloud. If you built the agent from source, please install all needed dependencies for Cloud support. If you used the regular installation script and see this error, please file a bug report at https://github.com/netdata/netdata/issues/new/choose.
- [/tmp/netdata-kickstart-pgCIuOHIGx]# test -x //usr/libexec/netdata/netdata-updater.sh
- FAILED
- [/tmp/netdata-kickstart-pgCIuOHIGx]# test -x //netdata/usr/libexec/netdata/netdata-updater.sh
- FAILED
- WARNING Could not find netdata-updater.sh. This means that auto-updates cannot (currently) be enabled on this system. See https://learn.netdata.cloud/docs/agent/packaging/installer/update for more information about updating Netdata.
- Successfully installed the Netdata Agent.
- The following non-fatal warnings or errors were encountered:
- - Command "/usr/sbin/netdata-claim.sh -token=xxxxxxx -rooms=xxxxxxx -url=https://app.netdata.cloud" failed with exit code 3.
- - Unable to claim node due to missing dependencies. Usually this means that the Netdata Agent was built without support for Netdata Cloud. If you built the agent from source, please install all needed dependencies for Cloud support. If you used the regular installation script and see this error, please file a bug report at https://github.com/netdata/netdata/issues/new/choose.
- - Command "test -x //usr/libexec/netdata/netdata-updater.sh" failed with exit code 1.
- - Command "test -x //netdata/usr/libexec/netdata/netdata-updater.sh" failed with exit code 1.
- - Could not find netdata-updater.sh. This means that auto-updates cannot (currently) be enabled on this system. See https://learn.netdata.cloud/docs/agent/packaging/installer/update for more information about updating Netdata.
- 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]# rm -rf /tmp/netdata-kickstart-pgCIuOHIGx
- OK
Advertisement
Add Comment
Please, Sign In to add comment