summaryrefslogtreecommitdiffstats
path: root/packaging/installer
AgeCommit message (Collapse)Author
2020-07-30Add documentation to provide a comprehensive guide for package maintainers ↵Austin S. Hemmelgarn
(#9467) * Initial commit of manual build guide. * Clean up header per suggestion from @joelhans Co-authored-by: Joel Hans <joel.g.hans@gmail.com> * Add GA tag per request from @joelhans Co-authored-by: Joel Hans <joel.g.hans@gmail.com> * Add simple description to metadata tags. * Elaborate on why we need a custom libmosquitto. * Update wording WRT manual install. * Add more info about LWS requirements. * Formatting fixes. * Fix typo. Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2020-07-23Removed delay in updater script for non-interactive runs from install ↵Austin S. Hemmelgarn
scripts. (#9589) * Add proper handling for updater script in installers. Our updater script has a built-in random delay of up to 1 hour when run non-interactively to avoid a stampede effect for reconnections to Netdata Cloud due to auto-updates. Due to an oversight in handling of updates to existing installs in the installer scripts, this delay was also occuring when the installer scripts were run non-interactively. This commit fixes that so that non-interactive runs complete without a delay. * Update checksums in documentation.
2020-07-23Added proper handling for autogen on Ubuntu 18.04 (#9586)Austin S. Hemmelgarn
2020-07-20Add better checks for existing installs to the kickstart scripts. (#9408)Austin S. Hemmelgarn
* Added better checks for existing installs to the kickstart scripts. This adds more robust checks to our Kickstart install scripts to prevent users from accidentally installing Netdata over top of an existing install (which can lead to all kinds of problematic situations). The logic for these checks works as follows: - See if `netdata` is located somewhere in `$PATH` (using `command -v`), and if present assume there's an existing install. - Otherwise, check if `/opt/netdata/bin/netdata` exists, if so assume there's an existing install, otherwise continue under the assumption there isn't. - If there is an existing install, check if it's one done through our install scripts, if not stop the installation process. - If it is one of our installs, look for and attempt to use the updater script to update the existing install (exiting with an error message if that fails). This also adds a switch called '--allow-duplicate-install' which will cause the install to continue if it would normally refuse to continue due to an existing install. * Update checksums. * Address feedback from @prologic.
2020-07-16Use the libbpf library for the eBPF plugin (#9490)Vladimir Kobal
2020-07-06Add guide for monitoring a k8s cluster with NetdataJoel Hans
2020-07-02Add documentation for installing Netdata on k8s clusters (#9364)Joel Hans
* Init install doc * Finish draft * Fixes for Mansour * Revert-ish for Mansour * Fix for Ilya * Clarify sdconfig * Test and finalize set-file instructions
2020-07-01Finish adding notices (#9422)Joel Hans
2020-07-01Add first class support for FreeBSD (#9413)James Mills
* Add FreeBSD system detection and package manager support * Add suitable package selections for FreeBSD * Add non-interactive mode for pkg * Use gmake to buiold on FreeBSD and --disable-dependency-tracking
2020-06-23Added OpenSSL to list of dependencies for Netdata Cloud. (#9398)Austin S. Hemmelgarn
2020-06-23update synology.md (#9400)pk
helping out with #9395 Typo in netdata/packaging/installer/methods/synology.md
2020-06-22Update freebsd.md (#9116)Thiago Rodrigues
* Update freebsd.md Update freebsd.md installation guide * Update freebsd.md documentation * Update Install from ports/packages in freebsd.md * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * Update freebsd.md documentation * logo teste * Update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * Update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md documentation * update freebsd.md * Update freebsd.md * update freebsd.md * add netdata-claim.sh to /usr/sbin in installation * update freebsd.md * update freebsd.md * Update freebsd.md * Update freebsd.md * Update freebsd.md * Update freebsd.md * Update freebsd.md
2020-06-12Change streaming terminology to parent/child in docs (#9312)Joel Hans
* Intial pass through docs * Dash instead of slash * To parent/child * Child nodes * Change diagrams * Allowlist * Fixes for Andrew * Remove from build_external * Change in proc
2020-06-10Correct the repo in the docs for CentOS 8. (#9308)Austin S. Hemmelgarn
* Correct the repo in the docs for CentOS 8. * Address reviewr feedback.
2020-06-08Added support for macOS/Homebrew in `install-required-packages.sh`. (#8286)Austin S. Hemmelgarn
* Add basic macOS support to install-required-packages.sh This uses Homebrew for the package installs, and skips anything that macOS already has as part of the base system. * Use Python 3 on macOS. Homebrew defaults to python 3, just use that because it makes life easier for users. * Disable running as EUID=0 on macOS. Homebrew only works properly for regular users. * Use macOS's native version of zlib. * Assorted fixes. * Fix typos in package mappings.
2020-06-04Move/refactor docs to accomodate new Guides section on Learn (#9266)Joel Hans
* Move directories and change verbiage to guide * Move health guides * Quick fix to collectors quickstart * Fix broken links * Remove health/tutorials dir * Fix links in collectors quickstart * Fix links to go.d pages
2020-06-05Add notes/known issues section to installation page (#9053)Joel Hans
* Add notes section to installer with OpenSSL * Add LibreSSL and Clang * Libre * Remove LibreSSL warning * Add sections about CFLAGS to install and claim * Update * Retrigger CI
2020-06-03Add a random offset to the update script when running non-interactively. (#9245)Austin S. Hemmelgarn
* Revert "Revert "Introduce a random sleep in the Netdata updater (#9079)" (#9161)" This reverts commit e92d2ce7a155a33ee6b0acfd928f357251c02c69. * Add option to updater to disable randomized delay. Primarily intended for CI, also useful for automated deployment tools like Ansible. * Use correct paths in CI. * Mke variable name match option name.
2020-06-03Fix reliability of kickstart/kickstart-static64 with checksums sometimes ↵James Mills
failing (#9165) * Add tool to build the dist and static x864_64 artifacts * Add support for overriding the URL for installing/updating from nightlies * Refactor curl/wget usage into less places. Use curl -q and --output and -O options instead of redirecting stdout * Update md5sum(s) of kickstart/kickstart-static64
2020-05-29Add support for eBPF for Netdata static64 (kickstart-static64.sh) (#9104)James Mills
* Add tool to build the dist and static x864_64 artifacts * Add tool to bump the Netdata packaging version * Cleanup all the makeself scripts and update to Alpine 3.11 * Add zgrep and xz to Alpine 3.7 container used to build x86_64 static Netdata so check-kernel-config.sh does not fail * Explicitly bundle the -static varient of the eBPF kernel-collector library/programs
2020-05-27Fix missing ebpf packaging files from dist archive (#9182)James Mills
* Install/Bundle the eBPF kernel-collector library / eBPF programs anyway even if the Kernel check fails (just warn the user) * Fix missing check-kernel-config.sh from dist (breaking kickstart.sh installs) * Add missing packaging/ebpf.version and packaging/ebpf.cehcksums to dist source archive
2020-05-27Fix error > emerge openssl-devel (#9141)Javier Pastor
* Fix error > emerge openssl-devel Add the correct package name for gentoo linux. Issue #9140 * Add missing package names for linux gentoo. * fix name package gentoo lm-sensors * add in workflows gentoo fix name package sys-apps/lm-sensors
2020-05-26Revert "Introduce a random sleep in the Netdata updater (#9079)" (#9161)James Mills
This reverts commit cea8a3fcbb3b48fce545d19bce2b5cf920c6794d.
2020-05-26Introduce a random sleep in the Netdata updater (#9079)James Mills
* Introduce a random sleep in the Netdata updater * Only sleep if we're not a tty (e.g: cron) and use a random interval between 30m-60m * Set lower bound to 1s * Disable random sleep / netdata-updater splay in lifecycle tests
2020-05-26Added required bundle for libuuid on ClearLinux. (#9060)Austin S. Hemmelgarn
* Added required bundle for libuuid on ClearLinux. * Add ClearLinux to build checks.
2020-05-25Fix incorrect issue link URL in install-required-packages.sh (#8911)James Mills
2020-05-20Include 'cmake' in the list of pkgs installed (#9031)zvarnes
cmake is requred for websockets to be installed, but it isn't included here. Suggestion to add it!
2020-05-20Update synology.md (#8658)Thorsten
* Update synology.md Make this more readable with sub-headlines. Also add a note that /etc/rc.local may not exist. * Update packaging/installer/methods/synology.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2020-05-20Update pfsense.md (#8544)electropup42
* Update pfsense.md Note about Python package when installing on pfSense 2.4.5 * Update packaging/installer/methods/pfsense.md Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2020-05-19install and enable eBPF Plugin by default (#8665)Austin S. Hemmelgarn
* netdata_installer_kernels: New kernels This commit brings new kernels for our netdata-installer * RH detection This commit brings the RH detection to netdata-installer, but it cannot be tested yet until we merge a PR on kernel-collector * netdata_installer_kernels: RH kernels This commit brings updates that allows to install and run the collectors on RH * netdata_installer_kernels: Kernel variables This commit brings definitions instead magic number to the isntaller * netdata_installer_kernels: remove echo This commit removes echo to avoid new line * netdata_installer_kernels: Move C code This commit removes the C code that will be inserted in another PR * Update eBPF install to use released version. This updates the install code for the eBPF plugin to properly utilize (and verify) a tagged release of the plugin instead of pulling the upstream master branch. It also adds support for using a local copy of the tarball, and switchs the default behavior to install the eBPF plugin instead of not installing it. * Tidy-up messages relating to eBPF. * Fix typos in error handling functions. * ebpf-release: New kernels This commit brings the kernels necessary to support Debian 10.0 * ebpf-release: Bring support for new package format * ebpf-release: collector as loader This commit brings the necessary changes for the collector loads all the nfiles depending of the kernel it is running * Update eBPF install to use released version. This updates the install code for the eBPF plugin to properly utilize (and verify) a tagged release of the plugin instead of pulling the upstream master branch. It also adds support for using a local copy of the tarball, and switchs the default behavior to install the eBPF plugin instead of not installing it. * netdata_installer_kernels: New kernels This commit brings new kernels for our netdata-installer * RH detection This commit brings the RH detection to netdata-installer, but it cannot be tested yet until we merge a PR on kernel-collector * netdata_installer_kernels: RH kernels This commit brings updates that allows to install and run the collectors on RH * netdata_installer_kernels: Kernel variables This commit brings definitions instead magic number to the isntaller * netdata_installer_kernels: remove echo This commit removes echo to avoid new line * netdata_installer_kernels: Move C code This commit removes the C code that will be inserted in another PR * Tidy-up messages relating to eBPF. * Fix typos in error handling functions. * ebpf-release: New kernels This commit brings the kernels necessary to support Debian 10.0 * ebpf-release: Bring support for new package format * ebpf-release: collector as loader This commit brings the necessary changes for the collector loads all the nfiles depending of the kernel it is running * Fix package name handling. * Bump eBPF kernel-collector to v0.1.0 * Update --help to state eBPF is enabled by default and add --disable-ebpf option in --help output * Remove deprecated kernel version compatibility checks * Fix EBPF_TARBALL * Remove libc path detection logic (deprecated0 * Use the new package structure of kernel-collector * Relax the glob on netdata_ebpf as we may develop/distirbute other types of ebpf programs * Fix ownership of ebpf libraries/programs * Make the check-kernel-config.sh local to the installer * Make plugins.ebpf = yes (by default) Co-authored-by: Thiago Marques <thiagoftsm@gmail.com> Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-05-15Update freebsd.md (#8643)Thorsten
More detailed description how to install from packages collection
2020-05-14Docs: Remove old Cloud/dashboard and replace with new Cloud/dashboard (#8874)Joel Hans
* Add options to daemon, clean up claiming * Caught one more old conf * Remove cloud docs * I did a lot of things * Rewrite tutorial step 3 * Remove my nodes menu, sync what-is-netdata * Restore ACLK/claim/daemon docs to be handled by docs-go-live * Fix up what-is-netdata * More cleanup of README/what-is-netdata * Restore daemon/config/README.md * Fix frontmatter * Change title, fix broken link * Copyediting fixes * Remove symbols * Add a few more GIFs * Fix hash * Fix other hash * Fix wording in web gui * Address Andrew's and Jacek's comments
2020-05-11Docs: Fix internal links and remove obsolete admonitions (#8946)Joel Hans
* Fixed a few more links * Remove old syntax * Abs-relative links to files in docs folder * Trying to fix nother doc learn link * Fix a few more links * Add testing doc * Tracking down mysteries * Cleanup * Update broken external links * Remove index.html that appeared from testing * Fix remainder of links
2020-05-07Fix missing NETDATA_STOP_CMD in netdata-installer.sh (#8897)James Mills
* Fix missing NETDATA_STOP_CMD in netdata-installer.sh * Fix shellcheck warnings * Fix more shellcheck warnings
2020-05-04Added docmentation about workaround for clang build errors. (#8867)Austin S. Hemmelgarn
* Added docmentation about workaround for clang build errors. * Update packaging/installer/methods/manual.md Co-authored-by: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2020-04-30Fix kickstart error removing old cron symlink (#8849)James Mills
* Fix kickstart error removing old cron symlink Fixes this: ```#!sh root@debian:~# bash <(curl -Ss https://my-netdata.io/kickstart.sh) [/root]# '' rm -f /etc/cron.daily/netdata-updater /dev/fd/63: line 114: : command not found FAILED ``` * Fix shellcheck erorrs the same as kickstart-static64.sh * Fix md5sum of kickstart.sh in our docs
2020-04-21Added JSON-C dependency handling to instlal and packaging. (#8776)Austin S. Hemmelgarn
* Add JSON-C dependency handling to instlal and packaging. * Update build failure message.
2020-04-21Update pfSense doc and add warning for apcupsd users (#8686)cryptoluks
* Update versions and add warning Update to latest netdata package version and add missing dependencies, add warning when using apcupsd to prevent memory leak and high cpu usage. * Update packaging/installer/methods/pfsense.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/installer/methods/pfsense.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2020-04-21Improved offline installation instructions (#8680)IceCodeNew
0. Amend an incorrect command in the document, also correct the link to _install-required-packages.sh_ script. 1. Make the parts of the example command that need to be filled by the user be clearly separated from other parts.
2020-04-14Docs: Standardize links between documentation (#8638)Joel Hans
* Trying out some absolute-ish links * Try one out on installer * Testing logic * Trying out some more links * Fixing links * Fix links in python collectors * Changed a bunch more links * Fix build errors * Another push of links * Fix build error and add more links * Complete first pass * Fix final broken links * Fix links to files * Fix for Netlify * Two more fixes
2020-04-13Revert "Revert changes since v1.21 in pereparation for hotfix release."Austin S. Hemmelgarn
This reverts commit e2874320fc027f7ab51ab3e115d5b1889b8fd747.
2020-04-13Revert changes since v1.21 in pereparation for hotfix release.Austin S. Hemmelgarn
2020-04-06Docs: Change MacOS to macOS (#8562)Joel Hans
* Change MacOS to macOS * Change Mac as noun to macOS system
2020-04-06packaging: fix errors during install-requred-packages (#8606)Ilya Mashchenko
* packaging: update install-requred-packages.sh: add `manjaro` to the list of known OSes of get_os_release func and sort the list alphabetically * packaging: fix `validate_package_trees` func exists before executing it
2020-04-03Ensure we only enable jessie-backports for Debian 8 (jessie) once (#8593)James Mills
2020-04-03Fix Debian 8 (jessie) support (#8590)James Mills
2020-03-31Switched to the new React dashboard code as the default dashboard. (#8363)Austin S. Hemmelgarn
* Initial installer components for new dashboard. * Add script to switch between react and classic dashboards. * Update to newest version of react dashboard. * Properly substitute webdir. * Fix installation of dashboard switch script. * Properly handle file ownership and permissions. * Fix install of react dashboard. * Add dashboard_info.js to the react dashboard tree. * Update to version 0.3.2 of the React dashboard. * Switch using file lists instead of nuking old directory. * Properly handle updates. * Fix variable naming in switching script. * Fix copying of files in switching script. * Fix switching script invocation in installer. * update dashboard to v0.4.0 * v0.4.1 gauge & easypiechart width update proper centering when clicking alarm in alarms-log keep loader until react app is ready fix top bar not showing when highlighting (few lines of code) "check known URLs" issue "reset" options is not hooked up go to host node from streamed node (low priority, because that's removed on release) * Persist user selection of dashboard across updates. * update dashboard to v0.4.2 (temperature, units options fixed) * v0.4.5 fixed print modal progress text force reload on sync-selection option change * fix memory leak on firefox * fix active-alarms number in main.js header fix "back to normal" notifications constantly throwing in loop * fix active-alarms fetching * support subpaths Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
2020-03-30Fix auto updates for static installs (kickstart_static64.sh) (#8507)James Mills
2020-03-26Fix erroneous \n printed in uninstaller (#8446)James Mills
* Fix erroneous \n printed in uninstaller * Fixed shellcheck errors
2020-03-26Fix install-required-packages script to self-update apt (#8491)James Mills
* Fix our install-required-packages script to automatically run apt-get update on systems (almost every other package manager self-updates anyway) * Add -o Acquire::Check-Valid-Until=false for Debian 8 (jessie)