![]() * 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
|
||
---|---|---|
.. | ||
optimizing-metrics-database | ||
running-the-netdata-agent-behind-a-reverse-proxy | ||
anonymous-telemetry-events.md | ||
cheatsheet.md | ||
common-configuration-changes.md | ||
dynamic-configuration.md | ||
optimize-the-netdata-agents-performance.md | ||
organize-systems-metrics-and-alerts.md | ||
README.md |
Netdata Agent Configuration
The main Netdata agent configuration is netdata.conf
.
The Netdata config directory
On most Linux systems, by using our recommended one-line installation, the Netdata config
directory will be /etc/netdata/
. The config directory contains several configuration files with the .conf
extension, a
few directories, and a shell script named edit-config
.
Some operating systems will use
/opt/netdata/etc/netdata/
as the config directory. If you're not sure where yours is, navigate tohttp://NODE:19999/netdata.conf
in your browser, replacingNODE
with the IP address or hostname of your node, and find the# config directory =
setting. The value listed is the config directory for your system.
All of Netdata's documentation assumes that your config directory is at /etc/netdata
, and that you're running any scripts from inside that directory.
edit netdata.conf
To edit netdata.conf
, run this on your terminal:
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config netdata.conf
Your editor will open.
downloading netdata.conf
The running version of netdata.conf
can be downloaded from a running Netdata agent, at this URL:
http://agent-ip:19999/netdata.conf
You can save and use this version, using these commands:
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
curl -ksSLo /tmp/netdata.conf.new http://localhost:19999/netdata.conf && sudo mv -i /tmp/netdata.conf.new netdata.conf