From 16f835489c1a93b5dbd84747c52c883f43b716f0 Mon Sep 17 00:00:00 2001 From: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com> Date: Thu, 5 Dec 2019 00:21:22 +0200 Subject: Implement netdata command server and cli tool (#7325) * Checkpoint commit (POC) * Implemented command server in the daemon * Add netdatacli implementation * Added prints in command server setup functions * Make libuv version 1 a hard dependency for the agent * Additional documentation * Improved accuracy of names and documentation * Fixed documentation * Fixed buffer overflow * Added support for exit status in cli. Added prefixes for exit code, stdout and stderr. Fixed parsers. * Fix compilation errors * Fix compile errors * Fix compile errors * Fix compile error * Fix linker error for muslc --- packaging/installer/README.md | 2 +- packaging/installer/netdata-uninstaller.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/installer/README.md b/packaging/installer/README.md index 950145f62c..30498d650b 100644 --- a/packaging/installer/README.md +++ b/packaging/installer/README.md @@ -231,6 +231,7 @@ Once Netdata is compiled, to run it the following packages are required (already |:-----:|-----------| | `libuuid` | part of `util-linux` for GUIDs management| | `zlib` | gzip compression for the internal Netdata web server| +| `libuv` | Multi-platform support library with a focus on asynchronous I/O, version 1 or greater| *Netdata will fail to start without the above.* @@ -260,7 +261,6 @@ Netdata DB engine can be enabled when these are installed (they are optional): | package | description| |:-----:|-----------| -| `libuv` | Multi-platform support library with a focus on asynchronous I/O, version 1 or greater| | `liblz4` | Extremely fast compression algorithm, version r129 or greater| | `Judy` | General purpose dynamic array| | `openssl`| Cryptography and SSL/TLS toolkit| diff --git a/packaging/installer/netdata-uninstaller.sh b/packaging/installer/netdata-uninstaller.sh index 5c8caeaf39..7949b4fd1c 100755 --- a/packaging/installer/netdata-uninstaller.sh +++ b/packaging/installer/netdata-uninstaller.sh @@ -312,6 +312,7 @@ if [ -n "${NETDATA_PREFIX}" ] && [ -d "${NETDATA_PREFIX}" ]; then rm_dir "${NETDATA_PREFIX}" else rm_file "/usr/sbin/netdata" + rm_file "/usr/sbin/netdatacli" rm_dir "/usr/share/netdata" rm_dir "/usr/libexec/netdata" rm_dir "/var/lib/netdata" -- cgit v1.2.3