CentOS 8にリアルタイム パフォーマンス モニタのNetdataをインストールしてみました。
Nginxのngx_http_stub_status_moduleでは物足りなかったので。
Netdata
https://github.com/netdata/netdata
環境
・CentOS Linux release 8.2.2004 (Core)
・Kernel 4.18.0-193.6.3.el8_2.x86_64
取り合えずQuickstartにあるスクリプトを実行してみます。
- kickstart.shの実行
- Judy, Judy-develのインストール
- 再度kickstart.shの実行
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
[root@centos8 ~]# bash <(curl -Ss https://my-netdata.io/kickstart.sh) System : Linux Operating System : GNU/Linux Machine : x86_64 BASH major version: --- Fetching script to detect required packages... --- [/tmp/netdata-kickstart-LMTAf5]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-LMTAf5/install-required-packages.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh OK --- Running downloaded script to detect required packages... --- [/tmp/netdata-kickstart-LMTAf5]# /usr/bin/bash /tmp/netdata-kickstart-LMTAf5/install-required-packages.sh netdata Loading /etc/os-release ... You should have EPEL enabled to install all the prerequisites. Check: http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/ > CentOS Version: 8 ... > Checking for epel ... > Checking for config-manager ... yum config-manager > Checking for PowerTools ... yum repolist PowerTools not found, shall I install it? [y/n] y yum config-manager --set-enabled PowerTools > Checking for Okay ... okay not found, shall I install it? [y/n] y yum install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-3.el8.noarch.rpm CentOS-8 - PowerTools 1.5 MB/s | 1.9 MB 00:01 Last metadata expiration check: 0:00:01 ago on Sun Jul 26 10:59:49 2020. okay-release-1-3.el8.noarch.rpm 3.9 kB/s | 7.9 kB 00:02 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: okay-release noarch 1-3.el8 @commandline 7.9 k Transaction Summary ================================================================================ Install 1 Package Total size: 7.9 k Installed size: 1.4 k Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : okay-release-1-3.el8.noarch 1/1 Running scriptlet: okay-release-1-3.el8.noarch 1/1 Verifying : okay-release-1-3.el8.noarch 1/1 Installed: okay-release-1-3.el8.noarch Complete! > Installing Judy-devel directly ... yum install http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm Extra OKay Packages for Enterprise Linux - x86_ 1.6 MB/s | 3.7 MB 00:02 [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 54.169.224.98) [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 54.169.224.98) [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 54.169.224.98) [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 54.169.224.98) [FAILED] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 54.169.224.98) Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 54.169.224.98) /etc/os-release information: NAME : CentOS Linux VERSION : 8 (Core) ID : centos ID_LIKE : rhel fedora VERSION_ID : 8 We detected these: Distribution : centos Version : 8 Codename : 8 (Core) Package Manager : install_yum Packages Tree : centos Detection Method: /etc/os-release Default Python v: 3 Searching for distro_sdk ... Searching for autoconf_archive ... > Checking if package 'autoconf-archive' is installed... Searching for autogen ... > Checking if package 'autogen' is installed... Searching for cmake ... > Checking if package 'cmake' is installed... Searching for libz_dev ... > Checking if package 'zlib-devel' is installed... Searching for libuuid_dev ... > Checking if package 'libuuid-devel' is installed... Searching for libmnl_dev ... > Checking if package 'libmnl-devel' is installed... Searching for json_c_dev ... > Checking if package 'json-c-devel' is installed... Searching for libuv ... > Checking if package 'libuv-devel' is installed... Searching for lz4 ... > Checking if package 'lz4-devel' is installed... Searching for openssl ... > Checking if package 'openssl-devel' is installed... Searching for judy ... > Checking if package 'Judy-devel' is installed... Searching for libelf ... > Checking if package 'elfutils-libelf-devel' is installed... Searching for python3 ... > Checking if package 'python3' is installed... Searching for python3_pymongo ... WARNING package python3-pymongo is not available in this system. You may try to install without it. The following command will be run: >> IMPORTANT << Please make sure your system is up to date by running: yum update yum install Judy-devel autoconf-archive autogen cmake elfutils-libelf-devel json-c-devel libmnl-devel libuuid-devel libuv-devel lz4-devel openssl-devel python3 zlib-devel Press ENTER to run it > yum install Judy-devel autoconf-archive autogen cmake elfutils-libelf-devel json-c-devel libmnl-devel libuuid-devel libuv-devel lz4-devel openssl-devel python3 zlib-devel Error: Problem: package Judy-devel-1.0.5-18.el8.x86_64 requires Judy = 1.0.5-18.el8, but none of the providers can be installed - conflicting requests - package Judy-1.0.5-18.el8.x86_64 is filtered out by modular filtering (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) We are very sorry! Installation of required packages failed. What to do now: 1. Make sure your system is updated. Most of the times, updating your system will resolve the issue. 2. If the error message is about a specific package, try removing that package from the command and run it again. Depending on the broken package, you may be able to continue. 3. Let us know. We may be able to help. Open a github issue with the above log, at: https://github.com/netdata/netdata/issues FAILED WARNING It failed to install all the required packages, but installation might still be possible. (snip) |
エラーになってしまいました。
Error:
Problem: package Judy-devel-1.0.5-18.el8.x86_64 requires Judy = 1.0.5-18.el8, but none of the providers can be installed
– conflicting requests
– package Judy-1.0.5-18.el8.x86_64 is filtered out by modular filtering
どうもokay repositoryからインストールしたいのにAppStreamとコンフリクトしていてエラーのようです。
Judy-devel installation error #9356
https://github.com/netdata/netdata/issues/9356
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
[root@centos8 ~]# dnf install Judy Judy-devel --disablerepo=AppStream Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: Judy x86_64 1.0.5-18.el8 okay 130 k Judy-devel x86_64 1.0.5-18.el8 okay 74 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 204 k Installed size: 822 k Is this ok [y/N]: y Downloading Packages: (1/2): Judy-devel-1.0.5-18.el8.x86_64.rpm 96 kB/s | 74 kB 00:00 (2/2): Judy-1.0.5-18.el8.x86_64.rpm 134 kB/s | 130 kB 00:00 -------------------------------------------------------------------------------- Total 210 kB/s | 204 kB 00:00 warning: /var/cache/dnf/okay-cca93943b442758a/packages/Judy-1.0.5-18.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID ac25decd: NOKEY Extra OKay Packages for Enterprise Linux - x86_ 937 kB/s | 959 B 00:00 Importing GPG key 0xAC25DECD: Userid : "Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>" Fingerprint: 7C08 E843 CE72 AE04 62F8 7864 BA5B 0392 AC25 DECD From : /etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY Is this ok [y/N]: y Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : Judy-1.0.5-18.el8.x86_64 1/2 Installing : Judy-devel-1.0.5-18.el8.x86_64 2/2 Running scriptlet: Judy-devel-1.0.5-18.el8.x86_64 2/2 Verifying : Judy-1.0.5-18.el8.x86_64 1/2 Verifying : Judy-devel-1.0.5-18.el8.x86_64 2/2 Installed: Judy-1.0.5-18.el8.x86_64 Judy-devel-1.0.5-18.el8.x86_64 Complete! |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
[root@centos8 ~]# bash <(curl -Ss https://my-netdata.io/kickstart.sh) System : Linux Operating System : GNU/Linux Machine : x86_64 BASH major version: --- Fetching script to detect required packages... --- [/tmp/netdata-kickstart-wU2Ylr]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-wU2Ylr/install-required-packages.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh OK --- Running downloaded script to detect required packages... --- [/tmp/netdata-kickstart-wU2Ylr]# /usr/bin/bash /tmp/netdata-kickstart-wU2Ylr/install-required-packages.sh netdata Loading /etc/os-release ... You should have EPEL enabled to install all the prerequisites. Check: http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/ > CentOS Version: 8 ... > Checking for epel ... > Checking for config-manager ... yum config-manager > Checking for PowerTools ... yum repolist PowerTools CentOS-8 - PowerTools > Checking for Okay ... > Installing Judy-devel directly ... yum install http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm Last metadata expiration check: 0:09:35 ago on Sun Jul 26 11:00:00 2020. [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 13.233.140.107) [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 13.233.140.107) [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 13.233.140.107) [MIRROR] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 13.233.140.107) [FAILED] Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm: Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 13.233.140.107) Status code: 404 for http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/Judy-devel-1.0.5-18.module_el8.1.0+217+4d875839.x86_64.rpm (IP: 13.233.140.107) /etc/os-release information: NAME : CentOS Linux VERSION : 8 (Core) ID : centos ID_LIKE : rhel fedora VERSION_ID : 8 We detected these: Distribution : centos Version : 8 Codename : 8 (Core) Package Manager : install_yum Packages Tree : centos Detection Method: /etc/os-release Default Python v: 3 Searching for distro_sdk ... Searching for autoconf_archive ... > Checking if package 'autoconf-archive' is installed... Searching for autogen ... > Checking if package 'autogen' is installed... Searching for cmake ... > Checking if package 'cmake' is installed... Searching for libz_dev ... > Checking if package 'zlib-devel' is installed... Searching for libuuid_dev ... > Checking if package 'libuuid-devel' is installed... Searching for libmnl_dev ... > Checking if package 'libmnl-devel' is installed... Searching for json_c_dev ... > Checking if package 'json-c-devel' is installed... Searching for libuv ... > Checking if package 'libuv-devel' is installed... Searching for lz4 ... > Checking if package 'lz4-devel' is installed... Searching for openssl ... > Checking if package 'openssl-devel' is installed... Searching for judy ... > Checking if package 'Judy-devel' is installed... Searching for libelf ... > Checking if package 'elfutils-libelf-devel' is installed... Searching for python3 ... > Checking if package 'python3' is installed... Searching for python3_pymongo ... WARNING package python3-pymongo is not available in this system. You may try to install without it. The following command will be run: >> IMPORTANT << Please make sure your system is up to date by running: yum update yum install autoconf-archive autogen cmake elfutils-libelf-devel json-c-devel libmnl-devel libuuid-devel libuv-devel lz4-devel openssl-devel python3 zlib-devel Press ENTER to run it > yum install autoconf-archive autogen cmake elfutils-libelf-devel json-c-devel libmnl-devel libuuid-devel libuv-devel lz4-devel openssl-devel python3 zlib-devel Last metadata expiration check: 0:09:48 ago on Sun Jul 26 11:00:00 2020. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: autoconf-archive noarch 2018.03.13-1.el8 PowerTools 622 k autogen x86_64 5.18.12-7.el8 PowerTools 597 k cmake x86_64 3.11.4-7.el8 AppStream 8.1 M elfutils-libelf-devel x86_64 0.178-7.el8 BaseOS 58 k json-c-devel x86_64 0.13.1-0.2.el8 PowerTools 44 k libmnl-devel x86_64 1.0.4-6.el8 PowerTools 44 k libuuid-devel x86_64 2.32.1-22.el8 BaseOS 95 k libuv-devel x86_64 1:1.32.0-1.el8 okay 36 k lz4-devel x86_64 1.8.1.2-4.el8 BaseOS 28 k openssl-devel x86_64 1:1.1.1c-15.el8 BaseOS 2.3 M python36 x86_64 3.6.8-2.module_el8.1.0+245+c39af44f AppStream 19 k zlib-devel x86_64 1.2.11-13.el8 BaseOS 57 k Installing dependencies: autogen-libopts x86_64 5.18.12-7.el8 AppStream 75 k cmake-data noarch 3.11.4-7.el8 AppStream 1.3 M cmake-filesystem x86_64 3.11.4-7.el8 AppStream 40 k cmake-rpm-macros noarch 3.11.4-7.el8 AppStream 39 k keyutils-libs-devel x86_64 1.5.10-6.el8 BaseOS 48 k krb5-devel x86_64 1.17-18.el8 BaseOS 549 k libcom_err-devel x86_64 1.45.4-3.el8 BaseOS 38 k libkadm5 x86_64 1.17-18.el8 BaseOS 185 k libselinux-devel x86_64 2.9-3.el8 BaseOS 199 k libsepol-devel x86_64 2.9-1.el8 BaseOS 86 k libuv x86_64 1:1.32.0-1.el8 okay 146 k libverto-devel x86_64 0.3.0-5.el8 BaseOS 18 k pcre2-devel x86_64 10.32-1.el8 BaseOS 605 k pcre2-utf16 x86_64 10.32-1.el8 BaseOS 228 k pcre2-utf32 x86_64 10.32-1.el8 BaseOS 220 k python3-pip noarch 9.0.3-16.el8 AppStream 19 k python3-setuptools noarch 39.2.0-5.el8 BaseOS 162 k Enabling module streams: python36 3.6 Transaction Summary ================================================================================ Install 29 Packages Total download size: 16 M Installed size: 41 M (snip) Complete! All Done! - Now proceed to the next step. OK [/tmp/netdata-kickstart-wU2Ylr]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-wU2Ylr/sha256sum.txt https://storage.googleapis.com/netdata-nightlies/sha256sums.txt OK [/tmp/netdata-kickstart-wU2Ylr]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-wU2Ylr/netdata-latest.tar.gz https://storage.googleapis.com/netdata-nightlies/netdata-latest.tar.gz OK [/tmp/netdata-kickstart-wU2Ylr]# tar -xf netdata-latest.tar.gz OK --- Installing netdata... --- [/tmp/netdata-kickstart-wU2Ylr/netdata-v1.23.2-62-g2eb70caf]# ./netdata-installer.sh --auto-update ^ |.-. .-. .-. .-. . netdata | '-' '-' '-' '-' real-time performance monitoring, done right! +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> You are about to build and install netdata to your system. It will be installed at these locations: - the daemon at /usr/sbin/netdata - config files in /etc/netdata - web files in /usr/share/netdata - plugins in /usr/libexec/netdata - cache files in /var/cache/netdata - db files in /var/lib/netdata - log files in /var/log/netdata - pid file at /var/run/netdata.pid - logrotate file at /etc/logrotate.d/netdata This installer allows you to change the installation path. Press Control-C and run the same command with --help for help. NOTE: Anonymous usage stats will be collected and sent to Google Analytics. To opt-out, pass --disable-telemetry option to the installer or export the environment variable DO_NOT_TRACK to a non-zero or non-empty value (e.g: export DO_NOT_TRACK=1). Press ENTER to build and install netdata to your system > --- Prepare custom libmosquitto version --- [/tmp/netdata-kickstart-wU2Ylr/netdata-v1.23.2-62-g2eb70caf]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-mosquitto-9uAXWJ/v.1.6.8_Netdata-4.tar.gz https://github.com/netdata/mosquitto/archive/v.1.6.8_Netdata-4.tar.gz OK v.1.6.8_Netdata-4.tar.gz: OK [/tmp/netdata-kickstart-wU2Ylr/netdata-v1.23.2-62-g2eb70caf]# tar -xf /tmp/netdata-mosquitto-9uAXWJ/v.1.6.8_Netdata-4.tar.gz -C /tmp/netdata-mosquitto-9uAXWJ OK [/tmp/netdata-kickstart-wU2Ylr/netdata-v1.23.2-62-g2eb70caf]# env CFLAGS= CXXFLAGS= LDFLAGS= make -C /tmp/netdata-mosquitto-9uAXWJ/mosquitto-v.1.6.8_Netdata-4/lib make: Entering directory '/tmp/netdata-mosquitto-9uAXWJ/mosquitto-v.1.6.8_Netdata-4/lib' (snip) --- Check KSM (kernel memory deduper) --- Memory de-duplication instructions You have kernel memory de-duper (called Kernel Same-page Merging, or KSM) available, but it is not currently enabled. To enable it run: echo 1 >/sys/kernel/mm/ksm/run echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs If you enable it, you will save 40-60% of netdata memory. --- Check version.txt --- --- Check apps.plugin --- --- Copy uninstaller --- --- Basic netdata instructions --- netdata by default listens on all IPs on port 19999, so you can access it with: http://this.machine.ip:19999/ To stop netdata run: systemctl stop netdata To start netdata run: systemctl start netdata Uninstall script copied to: /usr/libexec/netdata/netdata-uninstaller.sh --- Installing (but not enabling) the netdata updater tool --- Update script is located at /usr/libexec/netdata/netdata-updater.sh --- Check if we must enable/disable the netdata updater tool --- Adding to cron Auto-updating has been enabled. Updater script linked to: /etc/cron.daily/netdata-updater netdata-updater.sh works from cron. It will trigger an email from cron only if it fails (it should not print anything when it can update netdata). --- Wrap up environment set up --- Preparing .environment file [/tmp/netdata-kickstart-wU2Ylr/netdata-v1.23.2-62-g2eb70caf]# chmod 0644 /etc/netdata/.environment OK Setting netdata.tarball.checksum to 'new_installation' --- We are done! --- ^ |.-. .-. .-. .-. .-. . netdata .-. .- | '-' '-' '-' '-' '-' is installed and running now! -' '-' +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> enjoy real-time performance and health monitoring... OK |
インストールできました。
1 2 3 4 |
[root@centos8 ~]# which netdata /usr/sbin/netdata [root@centos8 ~]# /usr/sbin/netdata -v netdata v1.23.2-62-nightly |
http://IP_Address:19999/ にアクセスするとサーバの状態がリアルタイムで確認できます。アクセスできない場合はFirewallの設定等を確認して下さい。
自動起動の設定はされています。
1 2 |
[root@centos8 ~]# systemctl list-unit-files | grep netdata netdata.service enabled |
cronで毎日アップデートを確認しています。
1 2 |
[root@centos8 ~]# ls -l /etc/cron.daily/netdata-updater lrwxrwxrwx. 1 root root 39 Jul 26 11:12 /etc/cron.daily/netdata-updater -> /usr/libexec/netdata/netdata-updater.sh |