summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
AgeCommit message (Collapse)Author
2020-02-27Adding support for ACLK build-configuration (#8223)Andrew Moss
* Fixes for issues not caught at review in #8144. (#8211) * Properly scrub build environment for external dependencies. * Remove LWS from our system-level dependencies. We've decided to just always bundle it in the installer. * Add missing dependency for Docker build process. * Use static-build of LWS library created by installer (#8157) * link static lib of LWS * only use static LWS by installer * handle -lcap * fix problem on debian without lcap * fix lws check Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> Co-authored-by: Timo <6674623+underhood@users.noreply.github.com>
2020-02-27packaging/installer: fix bundle_libwebsockets (#8219)Ilya Mashchenko
2020-02-27Add support to new kernels (#8192)thiagoftsm
* netdata_kernels_extensions: Add support to new kernels This commit brings the missing kernels for netdata-installer.sh * netdata_kernels_extensions: Adjust kernel versions * netdata_kernels_extensions: Missing bar There was a missing bar in the ln command
2020-02-25Added libwebsockets bundling code to netdata-installer.sh (#8144)Austin S. Hemmelgarn
* Generalize handling of fetch and verification of archives. This generalizes the logic used for fetching and verifying source archives for external dependencies that we potentially bundle as part of our regular build. It also slightly improves the error handling for the bundling of libmosquitto. * Add code to bundle libwebsockets during install. This gets used when building on a system without libwebsockets3. Due to how the libwebsockets build system works, this adds cmake as an installer dependency on systems that do not have libwebsockets3. * Add libwebsockets-dev to install-required-packages.sh * Fix error caused by resolving merge conflict incorrectly. * Unconditionally bunlde libwebsockets if cloud is enabled on install. As discussed with the product team, we're taking this approach to ensure SOCKS5 proxy support.
2020-02-21Added support for cross-host docker-compose builds (#7754)Andrew Moss
The new file in the build_external directory allow cross-host builds (i.e. building Netdata for a Debian system on a Fedora host). The build and execution is wrapped inside docker containers with an appropriate user-land, based on the package builder base images. These containers can be orchestrated into more complex testing environments (e.g. master-slave streaming setups or the ACLK). Rebuilding the netdata agent inside the containers is an incremental build-step (to improve dev time) rather than a clean install.
2020-02-19Fix netdata-installer (#8133)thiagoftsm
2020-02-19Fixes NetData installer on *BSD systems post libmosquitto / eBPF (#8121)James Mills
* Fixed bad usage of mktemp with mixed -t/-d options * Fixed bad copy/pasta of wrong grep ./packaging/*.checksums to generate sha256sums.txt for libmosquitto * Disabled bundling/building of custom libmosquitto fork on *BSD systems (for now) as it is broken * Skip trying to install eBPF Collector Package(s) on non-Linux systems * Update netdata-installer.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2020-02-18Integrates the eBPF Kernel Collector with the NetData Installer (#8075)James Mills
* Initial Commit * Added a generic get() function that wraps either curl or wget and pipes the file to stdout * Added partial implementation of eBPF Kernel Collectpr * Move the kernel check inside should_install_ebpf() * Fixed shellcheck errors I missed * Fixed incorrect return in should_install_ebpf() * Refactored Kernel version parsing and LIBC Detection * Refactored Kernel / eBPF Package compatibility checks * Added a generic get() function that wraps either curl or wget and pipes the file to stdout * Added partial implementation of eBPF Kernel Collectpr * Move the kernel check inside should_install_ebpf() * Fixed shellcheck errors I missed * Fixed incorrect return in should_install_ebpf() * Refactored Kernel version parsing and LIBC Detection * Refactored Kernel / eBPF Package compatibility checks * Fixed bugs * Improve alignment of text output * Other minor fixes * Completed installation logic for eBPF Package * Missed libnetdata_ebpf.so * Fixed installation locaiton for libnetdata_ebpf.so * Added -f flag to ln so installs are idempotent * Refactored running check-kernel-config.sh * Use run to run the check-kernel.config.sh * Switch to grep + sed instead of jq * kernel_collector_integration: Fix problems with Fedora and other distributions that do not have '/usr' s default shared library directory * remove developer mode installation * kernel_collector_integration: Fix comparison Fixes comparison to get old kernel versions * Addressed @Ferroin's comments * Don't bother comparing kver to 0 Co-authored-by: thiagoftsm <thiagoftsm@gmail.com>
2020-02-17eBPF process plugin (#7979)thiagoftsm
* syscall_plugin: Compilation This commit brings the necessaries changes to the compilation files * syscall_plugin: Collector body This commit brings the collector body to files. * syscall_plugin: .gitignore This commit adds syscall.plugin to .gitignore * syscall_plugin: Plugin adjust Fix reference and remove message * syscall_plugin: Remove limit Remove call to setrlimit * syscall: Fix start This commit fixes problems related with start of the plugin * syscall_plugin: Bring heartbeat This commit removes the sleep and changes to heartbeat to avoid plugin receive a SIGTERM * syscall_plugin: Missing semicolon * syscall_plugin: Fix dimension Brings the initial value of chart for the normal dimension of the other values * syscall_plugin: Fix dimension 2 The previous change did not give the expected results, so I am bringing more a fix * syscall_plugin: adjust values Rename function and adjust pid size * syscall_plugin: Remove Chart and fix var this commit removes a chart that will not be created and fix an error when the bytes were calculated * syscall_plugin: Brings error This commit brings a new variable that will be used to identify errors * syscall_plugin: Rename charts This commit starts to rename the charts properly * syscall_plugin: Rename plugin * syscall_plugin: missing changes for rename * syscall_plugin: fix compilation * syscall_plugin: bring new charts * syscall_plugin: Warnings Remove warnings from compilation time * vfs_plugin: Fix Error chart plot There was an error when the chart was being displayed * vfs_plugin: Change family This commit changes the family of the VFS plugin * vfs_plugin: Fix order This PR fixes the wrong order when creating a chart * vfs_plugin: Remove path Remove path from structure * vfs_plugin: From Perf to HASH This commit converts the main source a hash table and also split the data collection per chart * vfs_plugin: Adjusts and exit This commit brings adjusts to the collect and the complete monitor to exit events * vfs_plugin: Start process This commit brings the monitoring of a process start and thread creation to Netdata * vfs_plugin: Visualization and collection Adjust variables to show and to collect data * vfs_plugin: Connection with apps plugin This commit starts to bring the connection with apps. * vfs_plugin: Various This commit brings new label for charts, fix to error chart and adjusts for new charts, I am sorry * vfs_plugin: basis new chart This commit brings the basis of the new charts for the plugin * vfs_plugin: Apps plugin This commit brings the integration with apps.plugin * vfs_plugin:fix counter This commit fixer the difference between apps plugin and counter * ebpf_plugin: rename charts This commit renames the charts * ebpf_plugin: New charts adjusts and log start * ebpf_plugin: Log thread Creates the log thread that will be used to store error message * ebpf_plugin: Rename Web Group This commit reorganize the charts on dashboard * ebpf_plugin: Restore This commit restore the previous status of the collector where we only have a global vision of the problems * ebpf_plugin: kretprobe This commit brings the initial changes for the collector works with both eBPF program * ebpf_plugin: New syscalls This commit brings the new syscalls that we are monitoring * ebpf_plugin: New charts This commit brings new charts to the collector * ebpf_plugin: Parse config This commit starts the parser of the file * ebpf_plugin: collector debug * ebpf_plugin: Global variables from config This commit brings the global variable update from the config file * ebpf_plugin: Clean kprobe_events This commit brings the clean of kprobe_events and also starts the common library for all eBPF collectors * ebpf_plugin: Check kernel version This function brings a check for the kernel version * ebpf_plugin: Start documentation This commit brings the initial documentation for the users * ebpf_plugin: Documentation This commit brings adjust to code and updates for the documentation * ebpf_plugin: this commit brings the developer mode to the collector * ebpf_plugin: Documentation This commit brings more information to the documentation * ebpf_plugin: Documentation This commit brings more information to the documentation * ebpf_plugin: errno to logs Brings errno number to logs * ebpf_plugin: Documentation This commit brings fixes to the collector documentation * ebpf_plugin: Move description This commit move the chart description from the C code to dashboard_info.js * ebpf_plugin: Rename files This commit rename files to the final version * ebpf_plugin: COntinue renaming This commit continue renaming the files to the final version * ebpf_plugin: Renaming process This commit renames the final plugin * ebpf_plugin: Finish rename This commit finishes the rename processing * ebpf_plugin: fix entry charts This commit removes one chart from mode * ebpf_plugin: Fix remove This commit brings a new function to fix the unload of collector when the collector is running in entry mode * ebpf_plugin: Rename on old kernels This commit brings fixes for syscall names * ebpf_plugin: Timestamp to log This commit brings the timestamp to the logs * ebpf_plugin: Remove syscall With the changes on the backend, we are not monitoring more sys_clone * ebpf_plugin: The syscall is important for 5.3 or newer, so I am returning * ebpf_plugin: Remove concurrency This commit adds variables necessary to interact with the new structor of the eBPF program * ebpf_plugin: Ids to dimension This commit fews the functions name as ids for the dimensions * ebpf_plugin: Missing chart This commit brings the missing chart for Netdata * ebpf_plugin: Remove unecessary message Remove unecessary error message from the collector * ebpf_plugin: Rename dimension This commit renames the dimension for something more meaninful * ebpf_plugin: Optional log This commit converts the developer.log in an optional feature * redirect to stdoou This commit starts to bring the capability to redirect everything to stdout * ebpf_plugin: Disable dev mode This commit removes the possibility to load the dev mode file for while * ebpf_plugin: Disable eBPF process By default this plugin won't be enabled * ebpf_plugin: Update debug message * ebpf_plugin: this commit adjusts documentation to next release. * ebpf_plugin: documentation fix. * ebpf_plugin: Percpu hash This commit moves from an unique hash table for various to speed up the collector * ebpf_plugin: Compatibility This commit set compatibility version between kernels
2020-02-12Make temporary directories relative to $TEMPDIR. (#8066)Austin S. Hemmelgarn
* Make temporary directories relative to $TEMPDIR. * Add externaldeps to .gitignore.
2020-02-11Add support for libmosquitto to netdata-installer.sh for ACLK support. (#8025)Austin S. Hemmelgarn
* Add initial libmosquitto install support. THis adds initial support for pulling in our custom version of libmosquitto during the install process and using it with Netdata. This can be manually disabled by specifying `--disable-libmosquitto` on the install command-line. * Extract the libmosquitto sources in the right place. * Fix error message to be more generic. * Fix handling of temporary directory. * Only pull in required headers. * Correct new help text. * Change option naming to disable ACLK. * Use correct name for configure option. * Adjust target directory for libs. * Properly include OpenSSL on macOS. * Change references to ACLK to Netdata Cloud. * Update version of libmosquitto being used.
2020-02-04install go.d.plugin only if there is new version (#7946)Ilya Mashchenko
* netdata-installer.sh: do not install go.d.plugin if there is no a new version
2020-01-31Fixes a bug in DO_NOT_TRACK expression (#7929)James Mills
* Fixed bug in DO_NOT_TRACK expression * Fix kickstart-static64 checksum in docs. Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2020-01-30Set ownership correctly for plugins in netdata-installer.sh (#7923)Austin S. Hemmelgarn
2020-01-30Adds support for opting out of telemetry via the DO_NOT_TRACK envirnment ↵James Mills
variable (#7846) * Added support for opting out of telemtry via the DO_NOT_TRACK environment variable * Added support for DO_NOT_TRACK=1 in anonymous-statistics.sh and minor cleanup in Dockerfile and run.sh entrypoint * Allow DO_NOT_TRACK to be either non-zero or non-empty * Update md5sum of kickstart-static64.sh in docs * Fixed a bug in netdata-installer.sh * Revert changes to daemon/main.c (testing onyl) * Update docs/anonymous-statistics.md Co-Authored-By: Mansour Behabadi <57921115+ncmans@users.noreply.github.com> Co-authored-by: Mansour Behabadi <57921115+ncmans@users.noreply.github.com>
2020-01-28Fixes and improves the installer/updater shell scripts. (#7847)James Mills
* Auto-formatted the installer/updater shell scripts * Fixed shellcheck problems founds for installer/updater shell scripts * Update netdata-installer.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Update packaging/installer/kickstart-static64.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Update packaging/makeself/install-or-update.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Updated md5sum of kickstart-static64.sh in docs * Fixed bad rebase/merge conflicts Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2020-01-24Fix install permissions (#7632)Austin S. Hemmelgarn
* Fix ownership and permissions in RPM packages. This restructures things so that we're relying as much as possible on the `make install` command, which gets the ownership and permissions right in most cases. It does not change any of the capabilities afforded to various commands, those need further investigation to be set correctly. * Use correct perms and owners in installer script. This corrects the permissions and ownership of files as installed through the regular installer script (used for kickstart.sh installs).
2020-01-14Make auto-updates work on kickstart-static64 installs. (#7704)Austin S. Hemmelgarn
* Store only the options for reinstall, not the full command. This simplifies handling of updates with the static installer. * Properly utilize the updater for static installs. * Disable auto-updater when using local files. If using local files, we can probably assume a system without a network connection, so don't enable the auto-updater. * Document support for auto-updates from kickstart-static64 * Fix infinite loop in auto-update option. * Update kickstart-static64 checksum in docs. * Remove unnecessary `sed` argument. Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2020-01-03netdata/installer: Make netdata installer more flexible, to accommodate ↵Paul Emm. Katsoulakis
install with ssl on MacOS (#6922) * netdata/packaging: allow passing of LDFLAGS, together with CFLAGS * netdata/packaging: add instructions for mac * Update packaging/installer/README.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/installer/README.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/installer/README.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * netdata/docs: fix doc as per feedback Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2019-12-20packaging: Set default release channel to stable for gh releases (#7399)Mansour Behabadi
* packaging: Set default release channel to stable for gh releases * Leave kickstart files alone * Update .travis/create_artifacts.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> Co-authored-by: Mansour Behabadi <mansour@oxplot.com> Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2019-12-19Add anon tracking notice for installers (#7437)Mansour Behabadi
* Show notice of anonymous data collection * Add DO_NOT_TRACK env var to docker run script * Add disable-telemetry option to kickstart-static64 * Check if DO_NOT_TRACK is set
2019-12-19Agent claiming (#7525)Markos Fountoulakis
Initial infrastructure support for agent claiming. This feature is not currently enabled as we are still finalizing the details of the cloud infrastructure w.r.t. agent claiming. The feature will be enabled when we are ready to release it.
2019-12-11fix to wrong instructions during a non-privileged install from installer (#7393)julidegulen
* fix to wrong instructions during a non-privileged install from installer * remove slashed in the install script * delete stray history files
2019-11-11Ownership and permissions of /etc/netdata (#7244)Konstantinos Natsakis
* make install takes care of ownership and permissions of /etc/netdata Instead of netdata-installer.sh * Fix identation in Makefile.am files * netdata-installer.sh: Clearer variable assignment * netdata-installer.sh: Set /etc/netdata/netdata.conf ownership to root:root and permissions to 0644 * netdata-installer.sh: Set /etc/netdata/.environment permissions to 0644 * install-or-update.sh: Set permissions for /opt/netdata/etc/netdata.conf to 0644 * install-or-update.sh: Use ${NETDATA_PREFIX} more * install-or-update.sh: Improve indentation * install-or-update.sh: Do not create /opt/netdata/etc/netdata directories * debian/rules: /etc/netdata files and directories are now installed by make install * debian/rules: Properly copy files across directories When destination directory exists * netdata.spec.in: /etc/netdata ownership and permissions * Revert "Fix identation in Makefile.am files" This reverts commit 63fdb299b69152fda6984f81b0fef02f364c5efe. * Remove uninstall-local recipes from Makefile.am files * Removed superfluous whitespace and hash
2019-11-06netdata/installer: add missing flags from installer inventory, so that users ↵Paul Emm. Katsoulakis
can define them during execution (#7027)
2019-11-06netdata-installer.sh follow-up based on #7060 review (#7200)Konstantinos Natsakis
* netdata-installer.sh: Improve message about updater installation * packaging/installer/functions.sh: get_crondir() fails if crondir is not found * packaging/installer/functions.sh: Mark get_crondir and check_crondir_permissions functions as private
2019-10-17Partial fix for #7039 (#7060)Konstantinos Natsakis
* Partial fix for #7039 Moved updater installation code from netdata-installer.sh to packaging/installer/functions.sh packaging/makeself/install-or-update.sh uses above code to install netdata updater - Moved updater installation code to packaging/installer/functions.sh - packaging/makeself/install-or-update.sh uses above code to install netdata updater * Split install_or_remove_netdata_updater() function * Improved netdata-updater related message output * Improved variable declaration location in install-or-update.sh
2019-10-06netdata/installer: allow netdata service install, when docker runs systemd ↵Paul Emm. Katsoulakis
(#6987)
2019-09-18Collector slabinfo (#6800)Adrien Mahieux
### Summary Provide new collector parsing `/proc/slabinfo` to provide details on kernel slab structures. Asked by issue #13 (very happy for the oldest issue in backlog) ##### Component Name collectors/slabinfo.plugin ##### Additional Information This slabinfo details allows to have clues on actions done on your system. In the following screenshot, you can clearly see a `find` done on a ext4 filesystem (the number of `ext4_inode_cache` & `dentry` are rising fast), and a few seconds later, an admin issued a `echo 3 > /proc/sys/vm/drop_cached` as their count dropped.
2019-09-17netdata/installer: Add support for offline installs using kickstart or ↵Paul Emm. Katsoulakis
kickstart-static64 (#6693) * netdata/installer: Introduce parameter, for offiline installs 1) introduce parameter --local-tarball-override that takes two files as input 2) make kickstart and kickstart-static64 handle this parameter by overriding the download process and use the given tarballs * netdata/installer: update checksums * netdata/installer: attempt to update readme.md * netdata/installer: [ci skip] add documentation for static64 * netdata/installer: Offline installation -- expect go.d plugin binaries also for the intall to proceed 1) Introduce two more artifacts on the tarball override parameter (go.d plugin tarball and go.d plugin config tarball) 2) Adjust the installer to expect the offline install, when the path is set use that file instead of downloading anything * Update packaging/installer/README.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/installer/README.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * netdata/installer: add offline installer section * netdata/installer: don't shift there, we shift by one when needed * netdata/installer: Update md5sum * netdata/installer: adjust proposed commands to fetch proper binary based on OS and ARCH * netdata/packaging: first round of feedback * netdata/packaging: dont remove the files provided by the users * netdata/packaging: local-tarball-override -> local-files 1) rename parameter name 2) update md5sums in readme * netdata/packaging: fixes and nits 1) checksumi -> checksum 2) we are using sh, so conditionals are with single equal sign (fixed it) 3) unfortunately add one more option to the --local-files parameter, to define the required packages script. Might make sense in the end to just pass a directory structure there and inform the user of the files we expect to see there * netdata/packaging: update md5sum * netdata/packaging: do not move, copy * netdata/packaging: heres a few more missed mv->cp fixes * netdata/packaging: [ci skip] Refine error message on kickstart-static64.sh, to help cases when user confuses kickstart.sh with kickstart-static64.sh * netdata/packaging: update documentation to properly instruct on offline install how t orun the kickstart itself * netdata/packaging: fix documentation - missing one more script call
2019-08-16netdata/packaging: Align libdir in all configure commands (#6682)Paul Emm. Katsoulakis
* netdata/packaging: Align libdir with the one we expect our installation to use, following the rest of the directory correllations * netdata/packaging:[ci skip] One more
2019-08-14Add MongoDB backend (#6524)Vladimir Kobal
* Add mongodb backend skeleton * Send data to the backend * Send metrics as separate JSON documents * Add a configuration file * Send all metrics in a batch * Update the documentation * Free configuration strings on exit * Make socket timeout configurable
2019-08-12netdata/packaging: put go.d version in one place (#6557)Paul Emm. Katsoulakis
* netdata/packaging: [ci skip] Add go.d version to a single place * netdata/packaging: [ci skip] Things are a bit different in debian build, we need to define the path in a different way so pass it from the upper layer * netdata/packaging: [ci skip] Missed to add on the makefile * netdata/packaging: bump go.d version
2019-08-08netdata/packaging: Expect .tar.gz version of go.d plugin (#6590)Paul Emm. Katsoulakis
* netdata/packaging: Expect .tar.gz version of go.d plugin, after go.d PR248 * netdata/packaging: Checksum comes on the tarball * netdata/packaging: dont mv the file after extraction, just directly extract to destination, its cleaner. Also, make sure you remove the tmp folder * netdata/packaging: bump go.d to v0.8.0 * netdata/packaging: actually fix * netdata/packaging: change the way we extract it, wasnt right after all * netdata/packaging: update go.d checksums
2019-07-29netdata/packaging: Move tarball checksum information into lib dir of netdata ↵Paul Emm. Katsoulakis
(#6555) * netdata/packaging: Move tarball checksum information into lib dir of netdata 1) Introduce NETDATA_LIB_DIR within environment file, we are going to need to refer to it 2) move NETDATA_TARBALL_CHECKSUM to /netdata.tarball.checksum 3) Make sure you support transitional period, which means load and remove the variable from the old location then move it to the new one * netdata/packaging: relocate netdata-updater.sh and netdata-uninstaller.sh
2019-07-27netdata/packaging: Adopt netdata-updater to run properly for static64 ↵Paul Emm. Katsoulakis
installations. (#6520) * netdata/packaging: Start support for netdata-updater compatibility on static installation 1) Make netdata-installer.sh accept --static option, that simply passes variable IS_NETDATA_STATIC_BINARY=yes to the environment 2) Adjust the updater to check that variable and then is set to yes, make it download the static binary and run the static binary In theory, this should give us the required info on the updater. Only thing missing is how to catch the extra arguments the user might have given on the initial install. Will rework this after i test this first draft change * netdata/packaging: dont forget to enter the temp dir and also return to the original one afterwards. Print some info too. * netdata/packaging: reduce complexity on parameters for installer. Rather expect the variable to be set by the caller. this way we wont let the users get confused by the existence of a flag that only has internal usage. * netdata/packaging: dont forget to clean up the whole folder, its a temp
2019-06-28Revert "Easily disable alarms, by persisting the silencers configuration ↵Pavlos Emm. Katsoulakis
(#6274)" This reverts commit 60a73e90de2aa1c2eaae2ebbc45dd1fb96034df2. Emergency rollback of potential culprit as per issue #6356 Will be re-merging the change after investigation
2019-06-27Easily disable alarms, by persisting the silencers configuration (#6274)thiagoftsm
* Alarms begin! * Alarms web interface comments! * Alarms web interface comments 2! * Alarms bringing Christopher work! * Alarms bringing Christopher work! * Alarms commenting code that will be rewritten! * Alarms json-c begin! * Alarms json-c end! * Alarms missed script! * Alarms fix json-c parser and change script to test LIST! * Alarms fix test script! * Alarms documentation! * Alarms script step 1! * Alarms fix script! * Alarms fix testing script and code! * Alarms missing arguments to pkg_check_modules * SSL_backend indentation! * Alarms, description in Makefile * Alarms missing extern! * Alarms compilation! * Alarms libnetdata/health! * Alarms fill library! * Alarms fill CMakeList! * Alarm fix version! * Alarm remove readme! * Alarm fix readme version!
2019-06-24installer: include go.d.plugin version v0.7.0 (#6328)Ilya Mashchenko
* update go.d plugin checksums * update go.d plugin version to 0.7.0
2019-06-20Perf plugin (#6225)Vladimir Kobal
* Add perf plugin skeleton * Initialize events * Collect data * Configure default counters * Add charts for hardware and software counters * Add charts for cache counters * Don't show zeroes for non-existent metrics * Reinit events when stalled * Do not reinit disabled events * Update the documentation * Scale values when multiplexing is happening
2019-06-13netdata/packaging: it seems that libexecdir may deviate the expected path, ↵Paul Emm. Katsoulakis
explictly set this with configure to avoid uncomfortable situations (#6272)
2019-06-07Prometheus remote write backend (#6062)Vladimir Kobal
* Add Prometheus remote write backend prototype * Fix autotools issues * Send HTTP POST request * Add parameters to HTTP header * Discard HTTP responce 200 * Update CMake build configuration * Fix Codacy issue * Check for C++ binary * Fix compilation without remote write backend * Add options to the installer script * Fix configure script warning * Fix make dist * Downgrade to ByteSize for better compatibility * Integrate remote write more tightly into the existing backends code * Cleanup * Fix build error * Parse host tags * Fix Codacy issue * Fix counters for buffered data * Rename preprocessor symbol * Better error handling * Cleanup * Update the documentation
2019-06-05bump go.d 0.6.1 (#6217)Ilya Mashchenko
2019-05-31SSL implementation for Netdata (#5956)thiagoftsm
* SSL implementation for Netdata * Upload of fixes asked by @paulkatsoulakis and @cakrit * Fix local computer * Adding openssl to webserver * fixing.. * HTTPS almost there * Codacity * HTTPS day 3 * HTTPS without Bio step 1 * HTTPS without Bio step 2 * HTTPS without Bio step 3 * HTTPS without Bio step 4 * HTTPS without Bio step 5 * HTTPS without Bio step 6 * HTTPS without Bio step 7 * HTTPS without Bio step 8 * HTTPS without Bio step 9 * HTTPS without Bio step 10 * SSL on streaming 1 * Daily pull * HTTPS without Bio step 11 * HTTPS without Bio step 12 * HTTPS without Bio step 13 * HTTPS without Bio step 14 * SSL_Interception change documentation * HTTPS without Bio step 15 * HTTPS without Bio step 16 * SSL_Interception fix codacity * SSL_Interception fix doc * SSL_Interception comments * SSL_Interception fixing problems! * SSL_Interception killing bugs * SSL_Interception changing parameter * SSL_Implementation documentation and script * SSL_Implementation multiple fixes * SSL_Implementation installer and cipher * SSL_Implementation Redirect 301 * SSL_Implementation webserver doc and install-or-update.sh * SSL_Implementation error 00000001:lib(0):func(0):reason(1) * SSL_Implementation web server doc * SSL_Implementation SEGFAULT on Fedora * SSL_Implementation fix ^SSL=force|optional * SSL_Implementation Redirect and Ciphers * SSL_Implementation race condition 1 * SSL_Implementation Fix Location * SSL_Implementation Fix Location 2 * SSL_Implementation Fix stream * SSL_Implementation Fix stream 2 * SSL_Implementation Fix stream 3 * SSL_Implementation last problems! * SSL_Implementation adjusts to commit! * SSL_Implementation documentation permission! * SSL_Implementation documentation permission 2! * SSL_Implementation documentation permission 3!
2019-05-27Move telemetry config before netdata is restarted and fix the console ↵Chris Akritidis
message (#6127)
2019-05-27netdata/packaging/installer: nits and fixes (#6121)Paul Emm. Katsoulakis
* netdata: fix attempt for labels * Revert "netdata: fix attempt for labels" This reverts commit b61525925f5a6d752eac97e4a1cd7af915567ad2. * netdata: fix attempt for labels (2) * netdata/packaging/installer: Improvements over netdata installer process around go.d plugin 1) Align retries and timeouts between curl and wget scenarios, should take same time with either tool 2) Add more information when reaching the two error cases, to instruct the user on how to handle the errors 3) Make the download failure a soft error, just warn about skipping install 4) Rename download to download_go, we only run it for go so make this crystal clear * netdata/packaging/installer: when download has not succeeded, warn the user abort the go.d install and continue * netdata/packaging: Enforce usage of predefined start/stop commands for netdata. Add some verbosity too for visibility * netdata/packaging/installer: FreeBSD install - add a note for rc setup, then during first start up use onestart to avoid confusing warnings * netdata/packaging: Add newer debian supported versions, also a info print nit * netdata/packaging: Attend first feedback - use separate variable for the command needed by installer * netdata/packaging: make POSIX compliant equalities. The double equal sign is not working on all shells (dash for example) * netdata/packaging: fix missed md5sum update in README.md * netdata/packaging: revert debian selection - got misguided I obviously didnt test correctly and i misread the release notes, i didnt check the introduction of systemd during jessie release, i only looked for mentions in stretch. So revert this change and retest both on droplet and container installations * netdata/packaging: MacOS - silence a few unimportant errors, make initial detection friendlier 1) Silence failure of commands that are expected to fail on mac 2) add alternatives to uname, to match mac syntax for friendlier output * netdata/packaging: Update README.md * netdata/packaging: Adjustments from PR feedback 1) inform about disable-go when bailing out on download failure 2) Make sure you fail the download if the file is empty 3) Make sure you bail out if checksum fails * netdata/packaging/ci: revert download timeout logic for wget -- seems that there was an exceptional case on wget requiring this differentiation as per cakrits comments -- will revise later, as this is not critical to change
2019-05-23Mention anonymous statistics in additional places in the docs (#6084)Chris Akritidis
2019-05-23update go.d version and checksums (#6097)Ilya Mashchenko
2019-05-23Create missing /etc/netdata/custom-plugins.d (#6089)Steve8291
Fix Error message in error.log: netdata ERROR : PLUGINSD : cannot open plugins directory '/etc/netdata/custom-plugins.d' (errno 2, No such file or directory)
2019-05-19netdata/packaging: install/uninstall fixes for macOS case (#6045)Paul Emm. Katsoulakis
* netdata/packaging: install/uninstall fixes for macOS case 1) fix add/remove user and add/remove group to handle when running on mac 2) fix uninstaller to be more portable (function declarations that wont work everywhere) 3) add some portability code in the uninstaller, for add/remove user. Previously we just attempd a blind delete for linux 4) colorize uninstaller a little bit * netdata/packaging: remove unused, as per coday (really..?)