1
0
mirror of https://github.com/netdata/netdata.git synced 2021-06-06 23:03:21 +03:00

24 Commits

Author SHA1 Message Date
Austin S. Hemmelgarn
295d407fb0 Store info about the installation type for later retrieval. (#11157)
* Store info about the installation type for later retrieval.

* Properly handle install type on updates.

* Restructure install type values for easier parsing.

* Fix checksums.

* Fix .gitignore check.
2021-05-24 07:34:09 -04:00
Joel Hans
0277deeb1c Add documentation for claiming during kickstart installation (#11052)
* Add section to kickstart doc

* Add to kickstart64

* Add section to manual, add examples

* Update manual install per Austin
2021-04-29 08:53:25 -07:00
Josh Soref
f39406c9b6 Spelling build (#10428)
* spelling: alleviate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: available

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: berkeley

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cannot

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: centos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: context

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: continuously

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: correlate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: defaults

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependencies

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependency

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: different

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: doesn't

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: example

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: forbidden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: necessary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nightly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: normally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: notification

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overridden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: program

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: prompted for

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: proxyadmin

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: red hat

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: relative

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: script

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: scriptlet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: somewhere

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: spinning

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: substitution

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: success

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successfully

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: sysadmin

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tarball

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: telemetry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: temporary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: timeout

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: unsupported

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: updates

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: useful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: way

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Update kickstart script checksums in documentation

Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2021-04-05 08:18:11 -04:00
Austin S. Hemmelgarn
0a47bbdd6f Added support for claiming nodes as part of installation. (#10084)
* Added support for claiming nodes as part of installation.

This adds four new options to the `netdata-installer.sh` script:

* `--claim-token`
* `--claim-rooms`
* `--claim-uri`
* `--claim-proxy`

These directly correspond to the `-token`, `-rooms`, `-uri`, and `-proxy`
options for the `netdata-claim.sh` script. They have the following
associated logic:

* If any are specified and the `--disable-cloud` option is also
  specified, we bail and tell the user to either enable the cloud or
  remove the claiming options.
* If only some but not all of the token, rooms, and uri options  are
  specified, we bail and tell the user that they must pass all three.
* If all three of the token, rooms, and uri are specified, we invoke the
  `netdata-claim.sh` script for the install itself as one of the last
  steps in the installation process, using the values passed to these
  options.

This allows users to directly claim the agent as part of the install,
which is useful for automated installation scenarios.

* Add missing space as suggested by @knatsakis

* Properly handle installs in /.

* Properly handle unprefixed installs.

* Fix another spelling error in an option name.

* Properly fix option naming.

* Move claiming into kickstart script instead of netdata-installer.

This makes us more future-proof.

The required changes also fix some buggy behavior in the option parsing
code in the kickstart scripts.

* Fix checksums.

* Sanely handle the daemon not running during the claiming process.

* Silence incorrect shellcheck warning.

* Simplify condition as suggested by @vkalintiris.

* Clean up old changes that should not be here anymore.

These are leftovers from an earlier revision, they are not actually
needed.

* Add ID generation logic to the claiming script.

This lets it reliably claim nodes which have not yet had the daemon run.

Also fixes a consistency issue in the claiming logic in the Docker
entrypoint.
2021-03-08 08:12:22 -05:00
Josh Soref
f4193c3b5c Spelling md (#10508)
* spelling: activity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: adding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: addresses

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: administrators

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alarm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alignment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: analyzing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: apcupsd

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: apply

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: around

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: associated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: automatically

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: availability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: background

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: bandwidth

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: berkeley

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: between

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: celsius

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: centos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: certificate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cockroach

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collectors

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: concatenation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configuration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configured

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: continuous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: correctly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: corresponding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cyberpower

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: daemon

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dashboard

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: database

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deactivating

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependencies

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deployment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: determine

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: downloading

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: either

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: electric

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entrant

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: enumerating

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: environment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: equivalent

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: etsy

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: everything

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: examining

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: expectations

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: explicit

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: explicitly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: finally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: flexible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: further

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hddtemp

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: humidity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: identify

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: importance

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: incoming

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: individual

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: initiate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: installation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: integration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: integrity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: involuntary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: issues

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: kernel

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: language

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: libwebsockets

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: lighttpd

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: maintained

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: meaningful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: memory

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: metrics

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: miscellaneous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monitoring

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monitors

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monolithic

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multi

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multiplier

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: navigation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: noisy

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: number

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: observing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: omitted

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: orchestrator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overall

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overridden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: package

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: pages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parameter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parsable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: percentage

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: perfect

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: phpfpm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: platform

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: preferred

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: prioritize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: probabilities

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: process

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: processes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: program

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: qos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: quick

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: raspberry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: received

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recvfile

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: red hat

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: relatively

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: reliability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: repository

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: requested

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: requests

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: retrieved

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: scenarios

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: see all

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: supported

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: supports

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: temporary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tsdb

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tutorial

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: updates

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: utilization

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: value

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: variables

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: visualize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: voluntary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: your

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-01-18 07:43:43 -05:00
Joel Hans
46a8075c8f Docs housekeeping for SEO and syntax, part 1 (#10388)
* First pass to get the script working right

* Finish adding analytics tags
2021-01-07 11:44:43 -07:00
Joel Hans
44aabc6af5 Change links at bottom of all install docs (#10416)
* Change links at bottom of all install docs

* Add .md to all quickstart links
2021-01-07 08:41:03 -07:00
Austin S. Hemmelgarn
9ea434bf3f Updated messages about checksum validation failures on install. (#10448)
* Updated messages about checksum validation failures on install.

They now explain the most common cause of the failures and suggest the
most direct way to fix the situation.

* Fix checksums.

* Clean up messages as suggested by @joelhans.
2021-01-05 10:08:49 -05:00
Austin S. Hemmelgarn
dd4fae2f68 Fixed option parsing in kickstart.sh. (#10396)
* Fixed option parsing in kickstart.sh.

The existing code is dependent on options specifically for the kickstart
script coming before any options to be passed to the installer,
resulting in some options being ignored if the wyere ordered in certain
ways.

This fixes the parsing to explicitly parse _all_ options so that we are
not dependent on option order.

* Fix checksums.
2020-12-15 12:46:10 -05:00
Austin S. Hemmelgarn
7a416ecdcb Made the update script significantly more robust and user friendly. (#10261)
* Fix authroship and copyright information in updater.

* Better handle lack of executable installer script during updates.

* Attempt to update the updater prior to running updates.

* Fix kickstart script checksum.
2020-12-07 07:49:48 -05:00
Austin S. Hemmelgarn
8ae0a356ff Use printf instead of echo for better POSIX compliance. (#9842) 2020-08-31 09:00:42 -04:00
Austin S. Hemmelgarn
9c3b49ee99 Improved temporary directory checking in installer and updater. (#9797)
Update temporary directory checking in installer.

This updates the checks that our installer and updater make to choose
what to use for a temporary directory to be both more robust and more
portable.

The new checks use the following logic:

* For each directory to be checked, verify that it is both writable by
  the current user, and that the current user can execute files they
  write there.
* If `$TMPDIR` is set, preferentially use that.
* If that fials, try `/tmp`.
* If that also fails, fall back to `$PWD`.
* If all checks fail, bail early with an explanation instead of failing
  when we first tryto do things with the directory.

It also adds the same checks to the `netdata-installer.sh` script, which
was previously completely missing them.
2020-08-27 07:17:39 -04:00
Austin S. Hemmelgarn
dde9663f52 Fixed handling of offline installs. (#9805)
* Properly allow for offline installs.

If the user specifies a local trball to use instead of downloading the
code remotely, use the reinstall code path.

* Updated checksums.
2020-08-25 15:11:38 +10:00
Austin S. Hemmelgarn
b1505b45f8 Fixed numerous bugs in duplicate install handling. (#9769)
* Added an option to explicitly allow a reinstall over an existing
  install that would normally be updated.
* Fixed the duplicate install handling code to run after the option
  parsing code. Previously it ran before it, and thus some cases did not
  work at all.
* Added more robust handling of the case of attempting to do a duplicate
  install with a different install type than the original install.
2020-08-19 07:39:31 -04:00
Austin S. Hemmelgarn
f32713e9db Removed delay in updater script for non-interactive runs from install 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-23 07:14:21 -04:00
Austin S. Hemmelgarn
eb42d2ad43 Add better checks for existing installs to the kickstart scripts. (#9408)
* 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-20 07:25:04 -04:00
Joel Hans
8fad3b91c0 Finish adding notices (#9422) 2020-07-01 09:58:45 -04:00
Joel Hans
fecbb89d0c Move/refactor docs to accomodate new Guides section on Learn (#9266)
* 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-04 09:05:25 -07:00
James Mills
57c916530c Fix reliability of kickstart/kickstart-static64 with checksums sometimes 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-06-03 00:46:29 +10:00
Joel Hans
74fda3de8e Docs: Fix internal links and remove obsolete admonitions (#8946)
* 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-11 08:48:23 -07:00
James Mills
98b6eadfa4 Fix kickstart error removing old cron symlink (#8849)
* 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-30 17:22:15 +10:00
Joel Hans
9342704a41 Bulk add frontmatter to all documentation (#8354)
* Bulk add frontmatter

* A few extra edge cases
2020-03-10 14:29:51 -07:00
Jonathan Barda
6f887ee0a8 Removed extra printed \n (#8324)
* Removed extra printed `\n`

When running the installation script, a lot of `\n` got printed before the return status `[OK]` or `[ERROR]`.

* Update md5sum of packaging/installer/kickstart.sh in packaging/installer/methods/kickstart.md

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-03-06 13:31:10 +10:00
Joel Hans
439f334e67 Docs: Overhaul of installation documentation (#7841)
* Initial commit to bring new branch up to speed with previous work

* Initial commit to bring new branch up to speed with previous work

* Pass through for grammar and typos

* Pass through for grammar and typos

* First additions

* Improvements to installation page plus new separate kickstart page

* Lots of new pages, lots of improvements

* Continued work

* Fixing the install grid

* Added methods to nav

* Fix typo and add kickstart to nav

* CSS cleanup

* Various cleanup

* Cleanup on update/uninstall pages

* Add responsiveness to install grid

* Update checking of the kickstart files MD5 checksusm.

This updates the CI script used to verify the MD5 checksums of the
kickstart files as being correct in the documentation to use the new
locations for the respective checksums.

This is more involved than a simple path update because the existing
script assumes that both checksums are listed in the same file, which is
no longer the case.

Any future updates that move the location of the checksums just need to
modify the lines in tests/installer/checksums.sh that start with
`check_checksum` to point to the correct files.

* Added Alpine package for James

* Add packages to top of installation page

* Fix for Chris

* Telemetry fixes

* Trying to fix CI

* Changing checksums

* Fix CI checks for kickstart checksums.

The changed wording was confusing the code that parsed the checksum out
of the documentation, this fixes the code to handle this new wording
correctly.

* Update kickstart-static64 checksum

* Update 64 checksum

Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2020-01-27 14:26:27 -07:00