Guest User

Untitled

a guest
Jan 22nd, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.34 KB | None | 0 0
  1. 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
  2. --2025-01-22 10:31:20-- https://get.netdata.cloud/kickstart.sh
  3. Resolving get.netdata.cloud (get.netdata.cloud)... 2606:4700:10::6816:4fe5, 2606:4700:10::ac43:24ac, 2606:4700:10::6816:4ee5, ...
  4. Connecting to get.netdata.cloud (get.netdata.cloud)|2606:4700:10::6816:4fe5|:443... connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: 94287 (92K) [application/octet-stream]
  7. Saving to: ‘/tmp/netdata-kickstart.sh’
  8.  
  9. /tmp/netdata-kickstart.sh 100%[========================================================================================================================================================================================>] 92.08K --.-KB/s in 0.004s
  10.  
  11. 2025-01-22 10:31:20 (24.7 MB/s) - ‘/tmp/netdata-kickstart.sh’ saved [94287/94287]
  12.  
  13.  
  14. --- Using /tmp/netdata-kickstart-pgCIuOHIGx as a temporary directory. ---
  15. --- Checking for existing installations of Netdata... ---
  16. --- No existing installations of netdata found, assuming this is a fresh install. ---
  17. --- Attempting to install using native packages... ---
  18. --- Checking for availability of repository configuration package. ---
  19. [/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
  20. OK
  21.  
  22. [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get update
  23. Hit:1 http://deb.debian.org/debian bookworm InRelease
  24. Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
  25. Get:3 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
  26. Hit:4 https://download.docker.com/linux/debian bookworm InRelease
  27. Hit:5 https://packages.sury.org/php bookworm InRelease
  28. Hit:6 https://mirrors.xtom.de/mariadb/repo/11.4/debian bookworm InRelease
  29. Get:7 http://security.debian.org/debian-security bookworm-security/main Sources [135 kB]
  30. Get:8 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [241 kB]
  31. Get:9 http://security.debian.org/debian-security bookworm-security/main Translation-en [142 kB]
  32. Hit:10 http://nginx.org/packages/debian bookworm InRelease
  33. Hit:11 https://packages.redis.io/deb bookworm InRelease
  34. Hit:12 https://packagecloud.io/crowdsec/crowdsec/any any InRelease
  35. Fetched 622 kB in 1s (641 kB/s)
  36. Reading package lists... Done
  37. OK
  38.  
  39. [/tmp/netdata-kickstart-pgCIuOHIGx]# find /var/cache/apt/archives -type f -name netdata*.deb -delete
  40. OK
  41.  
  42. [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get install /tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb
  43. Reading package lists... Done
  44. Building dependency tree... Done
  45. Reading state information... Done
  46. Note, selecting 'netdata-repo-edge' instead of '/tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb'
  47. The following packages were automatically installed and are no longer required:
  48. fonts-font-awesome fonts-glyphicons-halflings libjs-bootstrap libnetfilter-acct1 python3-yaml
  49. Use 'apt autoremove' to remove them.
  50. The following NEW packages will be installed:
  51. netdata-repo-edge
  52. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  53. Need to get 0 B/3,362 B of archives.
  54. After this operation, 27.6 kB of additional disk space will be used.
  55. Get:1 /tmp/netdata-kickstart-pgCIuOHIGx/netdata-repo-edge_4-1+debian12_all.deb netdata-repo-edge all 4-1 [3,362 B]
  56. Selecting previously unselected package netdata-repo-edge.
  57. (Reading database ... 42283 files and directories currently installed.)
  58. Preparing to unpack .../netdata-repo-edge_4-1+debian12_all.deb ...
  59. Unpacking netdata-repo-edge (4-1) ...
  60. Setting up netdata-repo-edge (4-1) ...
  61. 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)
  62. OK
  63.  
  64. [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get update
  65. Hit:1 http://deb.debian.org/debian bookworm InRelease
  66. Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
  67. Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
  68. Hit:4 http://nginx.org/packages/debian bookworm InRelease
  69. Hit:5 https://download.docker.com/linux/debian bookworm InRelease
  70. Hit:6 https://packages.sury.org/php bookworm InRelease
  71. Hit:7 https://mirrors.xtom.de/mariadb/repo/11.4/debian bookworm InRelease
  72. Get:8 http://repository.netdata.cloud/repos/edge/debian bookworm/ InRelease [1,326 B]
  73. Hit:9 https://packages.redis.io/deb bookworm InRelease
  74. Get:10 http://repository.netdata.cloud/repos/repoconfig/debian bookworm/ InRelease [1,311 B]
  75. Hit:11 https://packagecloud.io/crowdsec/crowdsec/any any InRelease
  76. Get:12 http://repository.netdata.cloud/repos/edge/debian bookworm/ Packages [147 kB]
  77. Get:13 http://repository.netdata.cloud/repos/repoconfig/debian bookworm/ Packages [1,636 B]
  78. Fetched 151 kB in 1s (133 kB/s)
  79. Reading package lists... Done
  80. OK
  81.  
  82. [/tmp/netdata-kickstart-pgCIuOHIGx]# env apt-get install netdata
  83. Reading package lists... Done
  84. Building dependency tree... Done
  85. Reading state information... Done
  86. The following additional packages will be installed:
  87. netdata-core netdata-plugins-bash netdata-plugins-python netdata-web
  88. Suggested packages:
  89. apcupsd iw lm-sensors nc fping python3-psycopg2 python3-pymysql
  90. The following NEW packages will be installed:
  91. netdata netdata-core netdata-plugins-bash netdata-plugins-python netdata-web
  92. 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  93. Need to get 10.0 MB of archives.
  94. After this operation, 38.2 MB of additional disk space will be used.
  95. Do you want to continue? [Y/n]
  96. Get:1 http://deb.debian.org/debian bookworm/main amd64 netdata-core amd64 1.37.1-2 [1,553 kB]
  97. Get:2 http://deb.debian.org/debian bookworm/main amd64 netdata-plugins-bash all 1.37.1-2 [753 kB]
  98. Get:3 http://deb.debian.org/debian bookworm/main amd64 netdata-web all 1.37.1-2 [7,563 kB]
  99. Get:4 http://deb.debian.org/debian bookworm/main amd64 netdata all 1.37.1-2 [23.9 kB]
  100. Get:5 http://deb.debian.org/debian bookworm/main amd64 netdata-plugins-python all 1.37.1-2 [141 kB]
  101. Fetched 10.0 MB in 0s (97.9 MB/s)
  102. Selecting previously unselected package netdata-core.
  103. (Reading database ... 42285 files and directories currently installed.)
  104. Preparing to unpack .../netdata-core_1.37.1-2_amd64.deb ...
  105. Unpacking netdata-core (1.37.1-2) ...
  106. Selecting previously unselected package netdata-plugins-bash.
  107. Preparing to unpack .../netdata-plugins-bash_1.37.1-2_all.deb ...
  108. Unpacking netdata-plugins-bash (1.37.1-2) ...
  109. Selecting previously unselected package netdata-web.
  110. Preparing to unpack .../netdata-web_1.37.1-2_all.deb ...
  111. Unpacking netdata-web (1.37.1-2) ...
  112. Selecting previously unselected package netdata.
  113. Preparing to unpack .../netdata_1.37.1-2_all.deb ...
  114. Unpacking netdata (1.37.1-2) ...
  115. Selecting previously unselected package netdata-plugins-python.
  116. Preparing to unpack .../netdata-plugins-python_1.37.1-2_all.deb ...
  117. Unpacking netdata-plugins-python (1.37.1-2) ...
  118. Setting up netdata-core (1.37.1-2) ...
  119. Created symlink /etc/systemd/system/multi-user.target.wants/netdata.service → /lib/systemd/system/netdata.service.
  120. Setting up netdata-plugins-bash (1.37.1-2) ...
  121. Setting up netdata-plugins-python (1.37.1-2) ...
  122. Setting up netdata-web (1.37.1-2) ...
  123. Setting up netdata (1.37.1-2) ...
  124. Processing triggers for man-db (2.11.2-2) ...
  125. OK
  126.  
  127. --- Attempting to claim agent to https://app.netdata.cloud ---
  128. 331967
  129. 331971
  130. [/tmp/netdata-kickstart-pgCIuOHIGx]# /usr/sbin/netdata-claim.sh -token=xxxxxxx -rooms=xxxxxxx -url=https://app.netdata.cloud
  131. This agent was built with --disable-cloud and cannot be claimed
  132. FAILED
  133.  
  134. 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.
  135.  
  136. [/tmp/netdata-kickstart-pgCIuOHIGx]# test -x //usr/libexec/netdata/netdata-updater.sh
  137. FAILED
  138.  
  139. [/tmp/netdata-kickstart-pgCIuOHIGx]# test -x //netdata/usr/libexec/netdata/netdata-updater.sh
  140. FAILED
  141.  
  142. 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.
  143.  
  144. Successfully installed the Netdata Agent.
  145.  
  146. The following non-fatal warnings or errors were encountered:
  147.  
  148. - Command "/usr/sbin/netdata-claim.sh -token=xxxxxxx -rooms=xxxxxxx -url=https://app.netdata.cloud" failed with exit code 3.
  149. - 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.
  150. - Command "test -x //usr/libexec/netdata/netdata-updater.sh" failed with exit code 1.
  151. - Command "test -x //netdata/usr/libexec/netdata/netdata-updater.sh" failed with exit code 1.
  152. - 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.
  153.  
  154. To view your system's real-time performance metrics, open your web browser and enter http://NODE:19999.
  155. Replace NODE with the IP address or hostname of your Netdata server to access the dashboard.
  156.  
  157. Official documentation can be found online at https://learn.netdata.cloud/docs/.
  158.  
  159. Looking to monitor all of your infrastructure with Netdata? Check out Netdata Cloud at https://app.netdata.cloud.
  160.  
  161. Join our community and connect with us on:
  162. - GitHub: https://github.com/netdata/netdata/discussions
  163. - Discord: https://discord.gg/5ygS846fR6
  164. - Our community forums: https://community.netdata.cloud/
  165. [/root]# rm -rf /tmp/netdata-kickstart-pgCIuOHIGx
  166. OK
  167.  
Advertisement
Add Comment
Please, Sign In to add comment