Last active
January 8, 2020 06:15
-
-
Save asears/f0a51cc9d1e8207cb26106c65c1e72a8 to your computer and use it in GitHub Desktop.
Netdata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- Installing netdata... --- | |
| [/tmp/netdata-kickstart-dfDcja/netdata-v1.19.0-258-g2c0df253]# ./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. | |
| Press ENTER to build and install netdata to your system > | |
| --- Telemetry configuration --- | |
| You can opt out from anonymous statistics via the --disable-telemetry option, or by creating an empty file /etc/netdata/.opt-out-from-anonymous-statistics | |
| --- Install netdata at system init --- | |
| ./packaging/installer/functions.sh: line 306: [: =~: binary operator expected | |
| I don't know what init file to install on system 'ubuntu-18.04'. Open a github issue to help us fix it. | |
| FAILED Cannot install netdata init service. | |
| --- Restarting netdata instance --- | |
| Stopping all netdata threads | |
| [/tmp/netdata-kickstart-lAq219/netdata-v1.19.0-258-g2c0df253]# stop_all_netdata | |
| ./packaging/installer/functions.sh: line 494: [: too many arguments | |
| OK | |
| Starting netdata using command 'netdata' | |
| [/tmp/netdata-kickstart-lAq219/netdata-v1.19.0-258-g2c0df253]# netdata | |
| 2020-01-08 01:14:18: netdata INFO : MAIN : SIGNAL: Not enabling reaper | |
| OK | |
| OK netdata started! | |
| Downloading default configuration from netdata... | |
| [/tmp/netdata-kickstart-lAq219/netdata-v1.19.0-258-g2c0df253]# curl -sSL --connect-timeout 10 --retry 3 http://localhost:19999/netdata.conf | |
| OK | |
| [/tmp/netdata-kickstart-lAq219/netdata-v1.19.0-258-g2c0df253]# mv /etc/netdata/netdata.conf.new /etc/netdata/netdata.conf | |
| OK | |
| OK New configuration saved for you to edit at /etc/netdata/netdata.conf | |
| [/tmp/netdata-kickstart-lAq219/netdata-v1.19.0-258-g2c0df253]# chmod 0644 /etc/netdata/netdata.conf | |
| OK | |
| --- Check KSM (kernel memory deduper) --- | |
| Memory de-duplication not present in your kernel | |
| It seems you do not have kernel memory de-duper (called Kernel Same-page | |
| Merging, or KSM) available. | |
| To enable it, you need a kernel built with CONFIG_KSM=y | |
| If you can have 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: | |
| killall netdata | |
| To start netdata run: | |
| /usr/sbin/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-update | |
| 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-lAq219/netdata-v1.19.0-258-g2c0df253]# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment