0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-10 16:17:36 +00:00
Commit graph

232 commits

Author SHA1 Message Date
ycdtosa
4e9a9891ba
Update synology.md ()
* Update synology.md

My previous change was not correct.

Actually the kickstart install failed to create the netdata user and group, thus it has to be created manually

* update wording

---------

Co-authored-by: ilyam8 <ilya@netdata.cloud>
2025-03-31 12:05:30 +00:00
Fotis Voutsas
cecd5d8c0b
Update synology.md () 2025-03-31 10:39:31 +03:00
Ilya Mashchenko
5dfdda6cca
docs: improve Synology NAS installation documentation clarity () 2025-03-29 16:04:01 +02:00
ycdtosa
2194455aef
Update synology.md ()
some steps are required only for older versions of DSM
2025-03-29 15:11:55 +02:00
kanelatechnical
532450d162
Installation + docker, improvements ()
* Installation + docker, improvements

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Update packaging/docker/README.md

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

* Address review comments

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2025-03-28 12:45:10 +02:00
kanelatechnical
50f4686133
Installation section Improvements ()
* Doc Ansible installation improved wording

* Ansible Improved Wording

* Kickstart reorganized footerless

* AWS, AZURE, K8S, Improved wording
2025-03-27 12:31:27 +02:00
kanelatechnical
2d7d34e109
Doc Linux improved order in kickstart ()
Improved order "what does kickstart do"
2025-03-26 14:53:20 +00:00
Austin S. Hemmelgarn
c748b65849
Update DEB/RPM package signing key info. () 2025-03-17 11:09:53 -04:00
Austin S. Hemmelgarn
89179d3dde
Fixup URLs in package repo documentation to use index files. () 2024-12-11 08:43:57 +02:00
Fotis Voutsas
173646d381
Edit the organize doc ()
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-11-28 13:49:34 +02:00
Fotis Voutsas
a2cbfa5290
claim -> connect in docs ()
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-11-22 21:25:31 +02:00
Austin S. Hemmelgarn
bfbb27a5c5
Update documentation about our native package repos. ()
* Update documentation about our native package repos.

* Apply suggestions from code review

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-11-21 07:00:35 -05:00
Fotis Voutsas
32a6cd38e7
Capitalize the word "Agent" ()
* Capitalize the word Agent

* yaml -> json

* fix uppercase keys

* json update
2024-11-20 15:27:03 +02:00
Fotis Voutsas
d8daa5527a
Capitalize the word "cloud" ()
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-11-20 11:14:52 +02:00
Fotis Voutsas
a4201c88dc
Installation section simplification ()
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-11-04 11:18:34 +02:00
Fotis Voutsas
7332919cf5
Docs fixes () 2024-10-04 12:23:00 +03:00
Fotis Voutsas
1ddbc6610d
Docs lint on packaging/ dir ()
* docker readme pass

* installer/methods docs pass

* installer/ docs pass

* maintainers dir docs pass

* rest of packaging dir md docs pass
2024-10-03 12:07:25 +03:00
vkalintiris
7d4f9c58d5
Move plugins.d directory outside of collectors ()
* Move plugins.d out of collectors

It's being used by streaming as well.

* Move ndsudo and local_listeners back to collectors.
2024-09-30 13:14:26 +00:00
Ilya Mashchenko
8d8a6a8cd9
fix some docs issues () 2024-09-14 23:12:15 +03:00
Costa Tsaousis
a399128dbf
config parsers ()
* added parser for durations

* preliminary work for timeframes

* Update CMakeLists.txt

* updated parsing and generation for durations

* renames

* report parser errors; added compatibility to existing config_parse_duration()

* duration parsing is used on most netdata.conf and stream.conf entries

* more uses of duration parsing; simplification of stream.conf

* code cleanup

* more duration changes

* added html playground

* improved js code

* duration parsing applied to dbengine retention

* fixed doc

* simplified logic; added size parser

* added parsing for sizes

* renames and documentation updates

* hide appconfig internals from the rest of netdata

* fix crash on cleanup of streaming receivers

* fix buffer overflow in gorilla compression

* config return values are const

* ksm set to auto

* support reformatting migrated values

* removed obsolete metrics correlations settings

* split appconfig to multiple files

* durations documentation

* sizes documentation

* added backward compatibility in retention configuration

* provide description on migrations and reformattings

* config options are now a double linked list

* config sections are now a double linked list; config uses spinlocks; code cleanup and renames

* added data type to all config options

* update data types

* split appconfig api to multiple files

* code cleanup and renames

* removed size units above PiB

* Revert "fix buffer overflow in gorilla compression"

This reverts commit 3d5c48e84b.

* appconfig internal api changes
2024-09-04 14:42:01 +03:00
Costa Tsaousis
4c0122063f
WIP - Netdata v2 ()
* split claiming into multiple files; WIP claiming with api

* pidfile is now dynamically allocated

* netdata_exe_path is now dynamically allocated

* remove ENABLE_CLOUD and ENABLE_ACLK

* fix compilation

* remove ENABLE_HTTPS and ENABLE_OPENSSL

* remove the ability to disable cloud

* remove netdata_cloud_enabled variable; split rooms into a json array

* global libcurl initialization

* detect common claiming errors

* more common claiming errors

* finished claiming via API

* same as before

* same as before

* remove the old claiming logic that runs the claim script

* working claim.conf

* cleanup

* fix log message; default proxy is env

* fix log message

* remove netdata-claim.sh from run.sh

* remove netdata-claim.sh from everywhere, except kickstart scripts

* create cloud.d if it does not exist.

* better error handling and logging

* handle proxy disable

* merged master

* fix cmakelists for new files

* left-overs removal

* Include libcurl in required dependencies.

* Fix typo in dependency script.

* Use pkg-config for finding cURL.

This properly handles transitive dependencies, unlike the FindCURL
module.

* netdata installer writes claiming info to /etc/netdata/claim.conf

* remove claim from netdata

* add libcurl to windows packages

* add libcurl to windows packages

* compile-on-windows.sh installs too

* add NODE_ID streaming back to child and INDIRECT cloud status

* log child kill on windows

* fixes for spawn server on windows to ensure we have a valid pid and the process is properly terminated

* better handling to windows processes exit code

* pass the cloud url from parents to children

* add retries and timeout to claiming curl request

* remove FILE * from plugins.d

* spawn-tester to unittest spawning processes communication

* spawn-tester now tests FILE pointer I/O

* external plugins run in posix mode

* set blocking I/O on all pipes

* working spawn server on windows

* latest changes in spawn_popen applied to linux tools

* push environment

* repeated tests of fds

* export variable CYGWIN_BASE_PATH

* renamed to NETDATA_CYGWIN_BASE_PATH

* added cmd and help to adapt the command and the information to be presented to users during claiming

* split spawn server versions into files

* restored spawn server libuv based

* working libuv based spawn server

* fixes in libuv for windows

* working spawn server based on posix_spawn()

* fix fd leads on all spawn servers

* fixed windows spawn server

* fix signal handling to ensure proper cooperation with libuv

* switched windows to posix_spawn() based spawn server

* improvement on libuv version

* callocz() event loop

* simplification of libuv spawn server

* minor fixes in libuv and spawn tester

* api split into parts and separated by version; introduced /api/v3; no changes to old /api/v1 and /api/v2

* completed APIs splitting

* function renames

* remove dead code

* split basic functions into a directory

* execute external plugins in nofork spawn server with posix_spawn() for improved performance

* reset signals when using posix_spawn()

* fix spawn server logs and log cmdline in posix server

* bearer_get_token() implemented as function

* agent cloud status now exposes parent claim_id in indirect mode

* fixes for node id streaming from parent to children

* extract claimed id to separate file

* claim_id is no longer in host structure; there is a global claim_id for this agent and there are parent and origin claim ids in host structure

* fix issue on older compilers

* implement /api/v3 using calls from v1 and v2

* prevent asan leaks on local-sockets callback

* codacy fixes

* moved claim web api to web/api/v2

* when the agent is offline, prefer indirect connection when available; log a warning when a node changes node id

* improve inheritance of claim id from parent

* claim_id for bearer token show match any of the claim ids known

* aclk_connected replaced with functions

* aclk api can now be limited to node information, implementing [cloud].scope = license manager

* comment out most options in stream.conf so that internal defaults will be applied

* respect negative matches for send charts matching

* hidden functions are not accessible via the API; bearer_get_token function checks the request is coming from Netdata Cloud

* /api/v3/settings API

* added error logs to settings api

* saving and loading of bearer tokens

* Fix parameter when calling send_to_plugin

* Prevent overflow

* expose struct parser and typedef PARSER to enforce strict type checking on send_to_plugin()

* ensure the parser will not go away randomly from the receiver - it is now cleared when the receiver lock is acquired; also ensure the output sockets are set in the parser as long as the parser runs

* Add newline

* Send parent claim id downstream

* do not send anything when nodeid is zero

* code re-organization and cleanup

* add aclk capabilities, nodes summary and api version and protection to /api/v2,3/info

* added /api/v3/me which returns information about the current user

* make /api/v3/info accessible always

* Partially revert "remove netdata-claim.sh from everywhere, except kickstart scripts"

Due to how we handle files in our static builds and local builds, we
actually need to continue installing `netdata-claim.sh` to enable a
seamless transition to the new claiming mechanims without breaking
compatibility with existing installs or existing automation tooling that
is directly invoking the claiming script.

The script itself will be rewritten in a subsequent commit to simply
wrap the new claiming methodology, together with some additional changes
to ensure that a warning is issued if the script is invoked by anything
other than the kickstart script.

* Rewrite claiming script to use new claiming method.

* Revert "netdata installer writes claiming info to /etc/netdata/claim.conf"

Same reasoning as for 2e27bedb3fbf9df523bff407f2e8c8428e350e38.

We need to keep the old claiming support code in the kickstart script
for the forseeable future so that existing installs can still be
claimed, since the kickstart script is _NOT_ versioned with the agent.

A later commit will add native support for the new claiming method and
use that in preference to the claiming script if it appears to be
available.

* Add support for new claiming method to kickstart.sh.

This adds native support to the kickstart script to use the new claiming
method without depending on the claiming script, as well as adding a few
extra tweaks to the claiming script to enable it to better handle the
transition.

Expected behavior is for the kickstart script to use the new claiming
code path if the claiming script is either not installed, or does not
contain the specific string `%%NEW_CLAIMING_METHOD%%`. This way we will
skip the claiming script on systems which have the updated copy that
uses the new claiming approach, which should keep kickstart behavior
consistent with what Netdata itself supports.

* Depend on JSON-C 0.14 as a minimum supported version.

Needed for uint64 functions.

* Fix claiming option validation in kickstart script.

* do not cache auth in web client

* reuse bearer tokens when the request to create one matches an existing

* dictionaries dfe loops now allow using return statement

* bearer token files are now fixed for specific agents by having the machine guid of the agent in them

* systemd journal now respects facets and disables the default facets when not given

* fixed commands.c

* restored log for not openning config file

* Fix Netdata group templating for claiming script.

* Warn on failed templating in claiming script.

* Make `--require-cloud` a slient no-op.

We don’t need to warn users that it does nothing, we should just have ti
do nothing.

* added debugging info to claiming

* log also the response

* do not send double / at the url

* properly remove keyword from parameters

* disable debug during claimming

* fix log messages

* Update packaging/installer/kickstart.sh

* Update packaging/installer/kickstart.sh

* implemented POST request payload parsing for systemd-journal

* added missing reset of facets in json parsing

* JSON payload does not need hashes any more. I can accept the raw values

---------

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2024-08-23 14:12:01 +03:00
Fotis Voutsas
38baccf80a
Change "War Room" to "Room" and other docs changes () 2024-05-30 14:16:13 +03:00
Fotis Voutsas
d3ff7e9818
PR to change absolute links to relative () 2024-05-21 12:58:32 +03:00
Ilya Mashchenko
b6617322fc
some markdown fixes () 2024-05-19 22:19:48 +03:00
Fotis Voutsas
9e236258a5
fix broken links and links pointing to Learn () 2024-05-16 12:54:02 +03:00
Fotis Voutsas
effe8e6f26
files movearound () 2024-05-15 10:01:46 +03:00
Fotis Voutsas
7c9dfe1f09
Update the claim readme ()
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-05-14 13:06:17 +03:00
Fotis Voutsas
ea4bf6d407
move netdata charts documentation to proper folder ()
* fix

* links
2024-04-23 07:43:09 +00:00
Austin S. Hemmelgarn
39ea36980f
Fix maintainer documentation to reflect the new build system. () 2024-04-23 10:32:43 +03:00
Fotis Voutsas
128f112c73
remove old overview infrastructure and add home tab doc ()
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Hugo Valente <82235632+hugovalente-pm@users.noreply.github.com>
2024-04-05 15:04:44 +03:00
carrychair
8f38f0192e
remove repetitive words () 2024-03-12 11:56:56 +02:00
Fotis Voutsas
cceb27ad9b
fix links () 2024-03-06 12:00:05 +02:00
Fotis Voutsas
85bc75167e
delete docs/netdata-security.md and replace links to proper points () 2024-03-04 13:33:19 +02:00
Fotis Voutsas
109a635d04
Liquify start-stop-restart doc ()
liquify start-stop-restart doc
2024-02-21 09:39:31 +02:00
Fotis Voutsas
f27f4f714a
Documentation changes, new files and restructuring the hierarchy ()
* docs additions

* docs from writerside, not to be published in this state, links need work and Learn map needs to include them

* rename some files to reduce repetition on filenames

* use new packaging documentation and replace links to old

* change learn-rel-path to new category names

* replace configuration file with new one, add conf directory section to it, and replace links to point to that

* linkfix

* run integrations pipeline to get new links

* catoverpage

* fix writerside style links

* addition in on-prem mention

* comment out mermaid problematic line

* change path of alerting integrations docs for Learn

* fix

* fixes

* fix diagrams
2024-02-20 09:08:46 +02:00
pschaer
3f59438c20
Update synology.md () 2024-02-10 18:35:01 +02:00
vkalintiris
e0ec10411b
Move collectors/ under src/ () 2024-02-08 11:06:35 +02:00
vkalintiris
115d074a6c
Create a top-level directory to contain source code. ()
* Move ML under src

* Move spwan under src

* Move cli/ under src/

* move registry/ under src/

* move streaming/ under src/

* Move claim under src. Update docs

* Move database/ under src/

* Move libnetdata/ under src/

* Update references to libnetdata

* Fix logsmanagement includes

* Update generated script path.
2024-02-01 13:41:44 +02:00
Tasos Katsoulas
77d43c1d23
Make the kickstart checksum's placeholder value more concrete ()
Make the kickstart's checksum value more concrete

Do not change that
2024-01-25 12:28:15 +02:00
Ilya Mashchenko
fd3d3ab503
change get kickstart url to https://get.netdata.cloud/kickstart.sh () 2024-01-08 18:00:20 +02:00
Moritz Schlarb
ad62ef4dce
Fix --distro-override parameter name in docs () 2024-01-04 23:31:11 +02:00
Tasos Katsoulas
981a998b9b
Reorg kickstart guide's steps ()
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2023-12-05 13:23:45 +02:00
Austin S. Hemmelgarn
b39300a5cb
Improve handling around EPEL requirement for RPM packages. ()
- Explicitly pull in EPEL on all systems where it’s required in
  kickstart.sh
- Explicitly depend on EPEL in our repository config packages for
  systems where it’s required.
- Document the requirement to use EPEL on these systems.
2023-11-15 08:11:47 -05:00
Tasos Katsoulas
77996e73ee
Update packaging instructions ()
1. Add repo clean up instructions for the netdata/netdata repo (clean up from previous builds)
2. Make the static build instruction to use the more generic script

---------

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
2023-11-06 18:40:01 +02:00
Austin S. Hemmelgarn
a155cca000
Add info to native packages docs about mirroring our repos. ()
* Add info to native packages docs about mirroring our repos.

* Add note about disabling robots.txt handling in mirroring tools.
2023-10-18 08:26:17 -04:00
Costa Tsaousis
b2ac177969
Update kickstart.md 2023-10-17 11:52:36 +03:00
Costa Tsaousis
02299f2875
Update kickstart.md 2023-10-17 11:51:55 +03:00
Costa Tsaousis
48175a2fc5
Update kickstart.md 2023-10-17 11:49:28 +03:00
Costa Tsaousis
768e2bb14b
Update kickstart.md 2023-10-17 11:11:43 +03:00
Chase Wang
3a23a668b0
add description for Homebrew on Apple Silicon Mac(netdata/learn/#1789) () 2023-09-25 08:20:49 +03:00