mirror of
https://github.com/netdata/netdata.git
synced 2025-05-03 17:00:03 +00:00
Move daemon/ under src/ (#16933)
This commit is contained in:
parent
65579feafe
commit
70246b7965
54 changed files with 70 additions and 70 deletions
CMakeLists.txt
docs
cloud
configure
guides/configure
health
src
cli
daemon
README.mdanalytics.canalytics.hanonymous-statistics.sh.inbuildinfo.cbuildinfo.hcommands.ccommands.hcommon.ccommon.h
config
README.mddyncfg-echo.cdyncfg-files.cdyncfg-inline.cdyncfg-intercept.cdyncfg-internals.hdyncfg-tree.cdyncfg-unittest.cdyncfg.cdyncfg.h
daemon.cdaemon.hevent_loop.cevent_loop.hget-kubernetes-labels.sh.inglobal_statistics.cglobal_statistics.hmain.cmain.hmetrics.csvpipename.cpipename.hsentry-native
service.csignals.csignals.hstatic_threads.cstatic_threads.hstatic_threads_freebsd.cstatic_threads_linux.cstatic_threads_macos.csystem-info.shunit_test.cunit_test.hweb/gui
|
@ -801,40 +801,40 @@ set(LIBH2O_FILES
|
||||||
)
|
)
|
||||||
|
|
||||||
set(DAEMON_FILES
|
set(DAEMON_FILES
|
||||||
daemon/buildinfo.c
|
src/daemon/buildinfo.c
|
||||||
daemon/buildinfo.h
|
src/daemon/buildinfo.h
|
||||||
daemon/common.c
|
src/daemon/common.c
|
||||||
daemon/common.h
|
src/daemon/common.h
|
||||||
daemon/daemon.c
|
src/daemon/daemon.c
|
||||||
daemon/daemon.h
|
src/daemon/daemon.h
|
||||||
daemon/event_loop.c
|
src/daemon/event_loop.c
|
||||||
daemon/event_loop.h
|
src/daemon/event_loop.h
|
||||||
daemon/global_statistics.c
|
src/daemon/global_statistics.c
|
||||||
daemon/global_statistics.h
|
src/daemon/global_statistics.h
|
||||||
daemon/analytics.c
|
src/daemon/analytics.c
|
||||||
daemon/analytics.h
|
src/daemon/analytics.h
|
||||||
daemon/main.c
|
src/daemon/main.c
|
||||||
daemon/main.h
|
src/daemon/main.h
|
||||||
daemon/signals.c
|
src/daemon/signals.c
|
||||||
daemon/signals.h
|
src/daemon/signals.h
|
||||||
daemon/service.c
|
src/daemon/service.c
|
||||||
daemon/static_threads.c
|
src/daemon/static_threads.c
|
||||||
daemon/static_threads.h
|
src/daemon/static_threads.h
|
||||||
daemon/commands.c
|
src/daemon/commands.c
|
||||||
daemon/commands.h
|
src/daemon/commands.h
|
||||||
daemon/pipename.c
|
src/daemon/pipename.c
|
||||||
daemon/pipename.h
|
src/daemon/pipename.h
|
||||||
daemon/unit_test.c
|
src/daemon/unit_test.c
|
||||||
daemon/unit_test.h
|
src/daemon/unit_test.h
|
||||||
daemon/config/dyncfg.c
|
src/daemon/config/dyncfg.c
|
||||||
daemon/config/dyncfg.h
|
src/daemon/config/dyncfg.h
|
||||||
daemon/config/dyncfg-files.c
|
src/daemon/config/dyncfg-files.c
|
||||||
daemon/config/dyncfg-unittest.c
|
src/daemon/config/dyncfg-unittest.c
|
||||||
daemon/config/dyncfg-inline.c
|
src/daemon/config/dyncfg-inline.c
|
||||||
daemon/config/dyncfg-echo.c
|
src/daemon/config/dyncfg-echo.c
|
||||||
daemon/config/dyncfg-internals.h
|
src/daemon/config/dyncfg-internals.h
|
||||||
daemon/config/dyncfg-intercept.c
|
src/daemon/config/dyncfg-intercept.c
|
||||||
daemon/config/dyncfg-tree.c
|
src/daemon/config/dyncfg-tree.c
|
||||||
)
|
)
|
||||||
|
|
||||||
set(H2O_FILES
|
set(H2O_FILES
|
||||||
|
@ -1331,7 +1331,7 @@ set(NETDATA_FILES
|
||||||
|
|
||||||
if(LINUX)
|
if(LINUX)
|
||||||
list(APPEND NETDATA_FILES
|
list(APPEND NETDATA_FILES
|
||||||
daemon/static_threads_linux.c
|
src/daemon/static_threads_linux.c
|
||||||
${CGROUPS_PLUGIN_FILES}
|
${CGROUPS_PLUGIN_FILES}
|
||||||
${DISKSPACE_PLUGIN_FILES}
|
${DISKSPACE_PLUGIN_FILES}
|
||||||
${PROC_PLUGIN_FILES}
|
${PROC_PLUGIN_FILES}
|
||||||
|
@ -1340,17 +1340,17 @@ if(LINUX)
|
||||||
|
|
||||||
if(ENABLE_SENTRY)
|
if(ENABLE_SENTRY)
|
||||||
list(APPEND NETDATA_FILES
|
list(APPEND NETDATA_FILES
|
||||||
daemon/sentry-native/sentry-native.c
|
src/daemon/sentry-native/sentry-native.c
|
||||||
daemon/sentry-native/sentry-native.h)
|
src/daemon/sentry-native/sentry-native.h)
|
||||||
endif()
|
endif()
|
||||||
elseif(MACOS)
|
elseif(MACOS)
|
||||||
list(APPEND NETDATA_FILES
|
list(APPEND NETDATA_FILES
|
||||||
daemon/static_threads_macos.c
|
src/daemon/static_threads_macos.c
|
||||||
${MACOS_PLUGIN_FILES}
|
${MACOS_PLUGIN_FILES}
|
||||||
)
|
)
|
||||||
elseif(FREEBSD)
|
elseif(FREEBSD)
|
||||||
list(APPEND NETDATA_FILES
|
list(APPEND NETDATA_FILES
|
||||||
daemon/static_threads_freebsd.c
|
src/daemon/static_threads_freebsd.c
|
||||||
${FREEBSD_PLUGIN_FILES}
|
${FREEBSD_PLUGIN_FILES}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@ -2179,9 +2179,9 @@ endif()
|
||||||
#
|
#
|
||||||
|
|
||||||
set(NETDATACLI_FILES
|
set(NETDATACLI_FILES
|
||||||
daemon/commands.h
|
src/daemon/commands.h
|
||||||
daemon/pipename.c
|
src/daemon/pipename.c
|
||||||
daemon/pipename.h
|
src/daemon/pipename.h
|
||||||
src/cli/cli.c
|
src/cli/cli.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2432,18 +2432,18 @@ install(PROGRAMS
|
||||||
#
|
#
|
||||||
# TODO: check the following files for correct substitutions
|
# TODO: check the following files for correct substitutions
|
||||||
#
|
#
|
||||||
configure_file(daemon/anonymous-statistics.sh.in daemon/anonymous-statistics.sh @ONLY)
|
configure_file(src/daemon/anonymous-statistics.sh.in src/daemon/anonymous-statistics.sh @ONLY)
|
||||||
install(PROGRAMS
|
install(PROGRAMS
|
||||||
${CMAKE_BINARY_DIR}/daemon/anonymous-statistics.sh
|
${CMAKE_BINARY_DIR}/src/daemon/anonymous-statistics.sh
|
||||||
DESTINATION usr/libexec/netdata/plugins.d)
|
DESTINATION usr/libexec/netdata/plugins.d)
|
||||||
|
|
||||||
configure_file(daemon/get-kubernetes-labels.sh.in daemon/get-kubernetes-labels.sh @ONLY)
|
configure_file(src/daemon/get-kubernetes-labels.sh.in src/daemon/get-kubernetes-labels.sh @ONLY)
|
||||||
install(PROGRAMS
|
install(PROGRAMS
|
||||||
${CMAKE_BINARY_DIR}/daemon/get-kubernetes-labels.sh
|
${CMAKE_BINARY_DIR}/src/daemon/get-kubernetes-labels.sh
|
||||||
DESTINATION usr/libexec/netdata/plugins.d)
|
DESTINATION usr/libexec/netdata/plugins.d)
|
||||||
|
|
||||||
install(PROGRAMS
|
install(PROGRAMS
|
||||||
daemon/system-info.sh
|
src/daemon/system-info.sh
|
||||||
DESTINATION usr/libexec/netdata/plugins.d)
|
DESTINATION usr/libexec/netdata/plugins.d)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -39,7 +39,7 @@ You are expected to use this method in all following configuration changes.
|
||||||
## Metrics collection & retention
|
## Metrics collection & retention
|
||||||
|
|
||||||
You can tweak your settings in the netdata.conf file.
|
You can tweak your settings in the netdata.conf file.
|
||||||
📄 [Find your netdata.conf file](https://github.com/netdata/netdata/blob/master/daemon/config/README.md)
|
📄 [Find your netdata.conf file](https://github.com/netdata/netdata/blob/master/src/daemon/config/README.md)
|
||||||
|
|
||||||
Open a new terminal and navigate to the netdata.conf file. Use the edit-config script to make changes: `sudo ./edit-config netdata.conf`
|
Open a new terminal and navigate to the netdata.conf file. Use the edit-config script to make changes: `sudo ./edit-config netdata.conf`
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ to help you determine the exact settings for your desired retention period.
|
||||||
### Reduce the data collection frequency
|
### Reduce the data collection frequency
|
||||||
|
|
||||||
Change `update every` in
|
Change `update every` in
|
||||||
the [`[global]` section](https://github.com/netdata/netdata/blob/master/daemon/config/README.md#global-section-options)
|
the [`[global]` section](https://github.com/netdata/netdata/blob/master/src/daemon/config/README.md#global-section-options)
|
||||||
of `netdata.conf` so
|
of `netdata.conf` so
|
||||||
that it is greater than `1`. An `update every` of `5` means the Netdata Agent enforces a _minimum_ collection frequency
|
that it is greater than `1`. An `update every` of `5` means the Netdata Agent enforces a _minimum_ collection frequency
|
||||||
of 5 seconds.
|
of 5 seconds.
|
||||||
|
@ -57,7 +57,7 @@ doc for details.
|
||||||
### Disable a collector or plugin
|
### Disable a collector or plugin
|
||||||
|
|
||||||
Turn off entire plugins in
|
Turn off entire plugins in
|
||||||
the [`[plugins]` section](https://github.com/netdata/netdata/blob/master/daemon/config/README.md#plugins-section-options)
|
the [`[plugins]` section](https://github.com/netdata/netdata/blob/master/src/daemon/config/README.md#plugins-section-options)
|
||||||
of
|
of
|
||||||
`netdata.conf`.
|
`netdata.conf`.
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ template: disk_fill_rate
|
||||||
### Turn of all alerts and notifications
|
### Turn of all alerts and notifications
|
||||||
|
|
||||||
Set `enabled` to `no` in
|
Set `enabled` to `no` in
|
||||||
the [`[health]`](https://github.com/netdata/netdata/blob/master/daemon/config/README.md#health-section-options)
|
the [`[health]`](https://github.com/netdata/netdata/blob/master/src/daemon/config/README.md#health-section-options)
|
||||||
section of `netdata.conf`.
|
section of `netdata.conf`.
|
||||||
|
|
||||||
### Enable alert notifications
|
### Enable alert notifications
|
||||||
|
|
|
@ -31,7 +31,7 @@ these files in your own Netdata config directory, as the next section describes
|
||||||
exist.
|
exist.
|
||||||
|
|
||||||
- `netdata.conf` is the main configuration file. This is where you'll find most configuration options. Read descriptions
|
- `netdata.conf` is the main configuration file. This is where you'll find most configuration options. Read descriptions
|
||||||
for each in the [daemon config](https://github.com/netdata/netdata/blob/master/daemon/config/README.md) doc.
|
for each in the [daemon config](https://github.com/netdata/netdata/blob/master/src/daemon/config/README.md) doc.
|
||||||
- `edit-config` is a shell script used for [editing configuration files](#use-edit-config-to-edit-configuration-files).
|
- `edit-config` is a shell script used for [editing configuration files](#use-edit-config-to-edit-configuration-files).
|
||||||
- Various configuration files ending in `.conf` for [configuring plugins or
|
- Various configuration files ending in `.conf` for [configuring plugins or
|
||||||
collectors](https://github.com/netdata/netdata/blob/master/collectors/REFERENCE.md) behave. Examples: `go.d.conf`,
|
collectors](https://github.com/netdata/netdata/blob/master/collectors/REFERENCE.md) behave. Examples: `go.d.conf`,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Start, stop, or restart the Netdata Agent
|
# Start, stop, or restart the Netdata Agent
|
||||||
|
|
||||||
When you install the Netdata Agent, the [daemon](https://github.com/netdata/netdata/blob/master/daemon/README.md) is
|
When you install the Netdata Agent, the [daemon](https://github.com/netdata/netdata/blob/master/src/daemon/README.md) is
|
||||||
configured to start at boot and stop and restart/shutdown.
|
configured to start at boot and stop and restart/shutdown.
|
||||||
|
|
||||||
You will most often need to _restart_ the Agent to load new or editing configuration files.
|
You will most often need to _restart_ the Agent to load new or editing configuration files.
|
||||||
|
|
|
@ -50,7 +50,7 @@ including all its components, should be below 5 - 15% of a single core. For exam
|
||||||
0.6% - 1.8% of a total CPU capacity, depending on the CPU characteristics.
|
0.6% - 1.8% of a total CPU capacity, depending on the CPU characteristics.
|
||||||
|
|
||||||
The Netdata Agent runs with the lowest
|
The Netdata Agent runs with the lowest
|
||||||
possible [process scheduling policy](https://github.com/netdata/netdata/blob/master/daemon/README.md#netdata-process-scheduling-policy),
|
possible [process scheduling policy](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#netdata-process-scheduling-policy),
|
||||||
which is `nice 19`, and uses the `idle` process scheduler. Together, these settings ensure that the Agent only gets CPU
|
which is `nice 19`, and uses the `idle` process scheduler. Together, these settings ensure that the Agent only gets CPU
|
||||||
resources when the node has CPU resources to space. If the node reaches 100% CPU utilization, the Agent is stopped first
|
resources when the node has CPU resources to space. If the node reaches 100% CPU utilization, the Agent is stopped first
|
||||||
to ensure your applications get any available resources.
|
to ensure your applications get any available resources.
|
||||||
|
|
|
@ -19,7 +19,7 @@ You can configure the Agent's health watchdog service by editing files in two lo
|
||||||
|
|
||||||
- The `[health]` section in `netdata.conf`. By editing the daemon's behavior, you can disable health monitoring
|
- The `[health]` section in `netdata.conf`. By editing the daemon's behavior, you can disable health monitoring
|
||||||
altogether, run health checks more or less often, and more. See
|
altogether, run health checks more or less often, and more. See
|
||||||
[daemon configuration](https://github.com/netdata/netdata/blob/master/daemon/config/README.md#health-section-options) for a table of
|
[daemon configuration](https://github.com/netdata/netdata/blob/master/src/daemon/config/README.md#health-section-options) for a table of
|
||||||
all the available settings, their default values, and what they control.
|
all the available settings, their default values, and what they control.
|
||||||
|
|
||||||
- The individual `.conf` files in `health.d/`. These health entity files are organized by the type of metric they are
|
- The individual `.conf` files in `health.d/`. These health entity files are organized by the type of metric they are
|
||||||
|
@ -1368,7 +1368,7 @@ health configuration files!
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
You can compile Netdata with [debugging](https://github.com/netdata/netdata/blob/master/daemon/README.md#debugging) and then set in `netdata.conf`:
|
You can compile Netdata with [debugging](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#debugging) and then set in `netdata.conf`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
[global]
|
[global]
|
||||||
|
|
|
@ -33,6 +33,6 @@ dumpconfig
|
||||||
Returns the current netdata.conf on stdout.
|
Returns the current netdata.conf on stdout.
|
||||||
```
|
```
|
||||||
|
|
||||||
See also the Netdata daemon [command line options](https://github.com/netdata/netdata/blob/master/daemon/README.md#command-line-options).
|
See also the Netdata daemon [command line options](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#command-line-options).
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,7 @@ For most Netdata programs (including standard external plugins shipped by netdat
|
||||||
| `ERROR` | Something that might disable a part of netdata.<br/>The log line includes `errno` (if it is not zero). |
|
| `ERROR` | Something that might disable a part of netdata.<br/>The log line includes `errno` (if it is not zero). |
|
||||||
| `FATAL` | Something prevented a program from running.<br/>The log line includes `errno` (if it is not zero) and the program exited. |
|
| `FATAL` | Something prevented a program from running.<br/>The log line includes `errno` (if it is not zero) and the program exited. |
|
||||||
|
|
||||||
The `FATAL` and `ERROR` messages will always appear in the logs, and `INFO`can be filtered using [severity level](https://github.com/netdata/netdata/tree/master/daemon/config#logs-section-options) option.
|
The `FATAL` and `ERROR` messages will always appear in the logs, and `INFO`can be filtered using [severity level](https://github.com/netdata/netdata/tree/master/src/daemon/config#logs-section-options) option.
|
||||||
|
|
||||||
So, when auto-detection of data collection fail, `ERROR` lines are logged and the relevant modules are disabled, but the
|
So, when auto-detection of data collection fail, `ERROR` lines are logged and the relevant modules are disabled, but the
|
||||||
program continues to run.
|
program continues to run.
|
|
@ -1,7 +1,7 @@
|
||||||
<!--
|
<!--
|
||||||
title: "Daemon configuration"
|
title: "Daemon configuration"
|
||||||
description: "The Netdata Agent's daemon is installed preconfigured to collect thousands of metrics every second, but is highly configurable for real-world workloads."
|
description: "The Netdata Agent's daemon is installed preconfigured to collect thousands of metrics every second, but is highly configurable for real-world workloads."
|
||||||
custom_edit_url: "https://github.com/netdata/netdata/edit/master/daemon/config/README.md"
|
custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/daemon/config/README.md"
|
||||||
sidebar_label: "Daemon"
|
sidebar_label: "Daemon"
|
||||||
learn_status: "Published"
|
learn_status: "Published"
|
||||||
learn_rel_path: "Configuration"
|
learn_rel_path: "Configuration"
|
||||||
|
@ -29,13 +29,13 @@ the [web server access lists](https://github.com/netdata/netdata/blob/master/web
|
||||||
|
|
||||||
`netdata.conf` has sections stated with `[section]`. You will see the following sections:
|
`netdata.conf` has sections stated with `[section]`. You will see the following sections:
|
||||||
|
|
||||||
1. `[global]` to [configure](#global-section-options) the [Netdata daemon](https://github.com/netdata/netdata/blob/master/daemon/README.md).
|
1. `[global]` to [configure](#global-section-options) the [Netdata daemon](https://github.com/netdata/netdata/blob/master/src/daemon/README.md).
|
||||||
2. `[db]` to [configure](#db-section-options) the database of Netdata.
|
2. `[db]` to [configure](#db-section-options) the database of Netdata.
|
||||||
3. `[directories]` to [configure](#directories-section-options) the directories used by Netdata.
|
3. `[directories]` to [configure](#directories-section-options) the directories used by Netdata.
|
||||||
4. `[logs]` to [configure](#logs-section-options) the Netdata logging.
|
4. `[logs]` to [configure](#logs-section-options) the Netdata logging.
|
||||||
5. `[environment variables]` to [configure](#environment-variables-section-options) the environment variables used
|
5. `[environment variables]` to [configure](#environment-variables-section-options) the environment variables used
|
||||||
Netdata.
|
Netdata.
|
||||||
6. `[sqlite]` to [configure](#sqlite-section-options) the [Netdata daemon](https://github.com/netdata/netdata/blob/master/daemon/README.md) SQLite settings.
|
6. `[sqlite]` to [configure](#sqlite-section-options) the [Netdata daemon](https://github.com/netdata/netdata/blob/master/src/daemon/README.md) SQLite settings.
|
||||||
7. `[ml]` to configure settings for [machine learning](https://github.com/netdata/netdata/blob/master/src/ml/README.md).
|
7. `[ml]` to configure settings for [machine learning](https://github.com/netdata/netdata/blob/master/src/ml/README.md).
|
||||||
8. `[health]` to [configure](#health-section-options) general settings for [health monitoring](https://github.com/netdata/netdata/blob/master/health/README.md).
|
8. `[health]` to [configure](#health-section-options) general settings for [health monitoring](https://github.com/netdata/netdata/blob/master/health/README.md).
|
||||||
9. `[web]` to [configure the web server](https://github.com/netdata/netdata/blob/master/web/server/README.md).
|
9. `[web]` to [configure the web server](https://github.com/netdata/netdata/blob/master/web/server/README.md).
|
||||||
|
@ -74,10 +74,10 @@ Please note that your data history will be lost if you have modified `history` p
|
||||||
|
|
||||||
| setting | default | info |
|
| setting | default | info |
|
||||||
|:----------------------------------:|:-------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------------------------:|:-------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| process scheduling policy | `keep` | See [Netdata process scheduling policy](https://github.com/netdata/netdata/blob/master/daemon/README.md#netdata-process-scheduling-policy) |
|
| process scheduling policy | `keep` | See [Netdata process scheduling policy](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#netdata-process-scheduling-policy) |
|
||||||
| OOM score | `0` | |
|
| OOM score | `0` | |
|
||||||
| glibc malloc arena max for plugins | `1` | See [Virtual memory](https://github.com/netdata/netdata/blob/master/daemon/README.md#virtual-memory). |
|
| glibc malloc arena max for plugins | `1` | See [Virtual memory](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#virtual-memory). |
|
||||||
| glibc malloc arena max for Netdata | `1` | See [Virtual memory](https://github.com/netdata/netdata/blob/master/daemon/README.md#virtual-memory). |
|
| glibc malloc arena max for Netdata | `1` | See [Virtual memory](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#virtual-memory). |
|
||||||
| hostname | auto-detected | The hostname of the computer running Netdata. |
|
| hostname | auto-detected | The hostname of the computer running Netdata. |
|
||||||
| host access prefix | empty | This is used in docker environments where /proc, /sys, etc have to be accessed via another path. You may also have to set SYS_PTRACE capability on the docker for this work. Check [issue 43](https://github.com/netdata/netdata/issues/43). |
|
| host access prefix | empty | This is used in docker environments where /proc, /sys, etc have to be accessed via another path. You may also have to set SYS_PTRACE capability on the docker for this work. Check [issue 43](https://github.com/netdata/netdata/issues/43). |
|
||||||
| timezone | auto-detected | The timezone retrieved from the environment variable |
|
| timezone | auto-detected | The timezone retrieved from the environment variable |
|
||||||
|
@ -117,7 +117,7 @@ Please note that your data history will be lost if you have modified `history` p
|
||||||
|:-------------------:|:------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:-------------------:|:------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| config | `/etc/netdata` | The directory configuration files are kept. |
|
| config | `/etc/netdata` | The directory configuration files are kept. |
|
||||||
| stock config | `/usr/lib/netdata/conf.d` | |
|
| stock config | `/usr/lib/netdata/conf.d` | |
|
||||||
| log | `/var/log/netdata` | The directory in which the [log files](https://github.com/netdata/netdata/blob/master/daemon/README.md#log-files) are kept. |
|
| log | `/var/log/netdata` | The directory in which the [log files](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#log-files) are kept. |
|
||||||
| web | `/usr/share/netdata/web` | The directory the web static files are kept. |
|
| web | `/usr/share/netdata/web` | The directory the web static files are kept. |
|
||||||
| cache | `/var/cache/netdata` | The directory the memory database will be stored if and when Netdata exits. Netdata will re-read the database when it will start again, to continue from the same point. |
|
| cache | `/var/cache/netdata` | The directory the memory database will be stored if and when Netdata exits. Netdata will re-read the database when it will start again, to continue from the same point. |
|
||||||
| lib | `/var/lib/netdata` | Contains the alert log and the Netdata instance GUID. |
|
| lib | `/var/lib/netdata` | Contains the alert log and the Netdata instance GUID. |
|
||||||
|
@ -132,8 +132,8 @@ Please note that your data history will be lost if you have modified `history` p
|
||||||
|
|
||||||
| setting | default | info |
|
| setting | default | info |
|
||||||
|:----------------------------------:|:-----------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------------------------:|:-----------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| debug flags | `0x0000000000000000` | Bitmap of debug options to enable. For more information check [Tracing Options](https://github.com/netdata/netdata/blob/master/daemon/README.md#debugging). |
|
| debug flags | `0x0000000000000000` | Bitmap of debug options to enable. For more information check [Tracing Options](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#debugging). |
|
||||||
| debug | `/var/log/netdata/debug.log` | The filename to save debug information. This file will not be created if debugging is not enabled. You can also set it to `syslog` to send the debug messages to syslog, or `none` to disable this log. For more information check [Tracing Options](https://github.com/netdata/netdata/blob/master/daemon/README.md#debugging). |
|
| debug | `/var/log/netdata/debug.log` | The filename to save debug information. This file will not be created if debugging is not enabled. You can also set it to `syslog` to send the debug messages to syslog, or `none` to disable this log. For more information check [Tracing Options](https://github.com/netdata/netdata/blob/master/src/daemon/README.md#debugging). |
|
||||||
| error | `/var/log/netdata/error.log` | The filename to save error messages for Netdata daemon and all plugins (`stderr` is sent here for all Netdata programs, including the plugins). You can also set it to `syslog` to send the errors to syslog, or `none` to disable this log. |
|
| error | `/var/log/netdata/error.log` | The filename to save error messages for Netdata daemon and all plugins (`stderr` is sent here for all Netdata programs, including the plugins). You can also set it to `syslog` to send the errors to syslog, or `none` to disable this log. |
|
||||||
| access | `/var/log/netdata/access.log` | The filename to save the log of web clients accessing Netdata charts. You can also set it to `syslog` to send the access log to syslog, or `none` to disable this log. |
|
| access | `/var/log/netdata/access.log` | The filename to save the log of web clients accessing Netdata charts. You can also set it to `syslog` to send the access log to syslog, or `none` to disable this log. |
|
||||||
| facility | `daemon` | A facility keyword is used to specify the type of system that is logging the message. |
|
| facility | `daemon` | A facility keyword is used to specify the type of system that is logging the message. |
|
|
@ -2840,13 +2840,13 @@ netdataDashboard.context = {
|
||||||
|
|
||||||
'apps.vmem': {
|
'apps.vmem': {
|
||||||
info: 'Virtual memory allocated by applications. '+
|
info: 'Virtual memory allocated by applications. '+
|
||||||
'Check <a href="https://github.com/netdata/netdata/tree/master/daemon#virtual-memory" target="_blank">this article</a> for more information.'
|
'Check <a href="https://github.com/netdata/netdata/tree/master/src/daemon#virtual-memory" target="_blank">this article</a> for more information.'
|
||||||
},
|
},
|
||||||
'groups.vmem': {
|
'groups.vmem': {
|
||||||
info: 'Virtual memory allocated per user group since the Netdata restart. Please check <a href="https://github.com/netdata/netdata/tree/master/daemon#virtual-memory" target="_blank">this article</a> for more information.'
|
info: 'Virtual memory allocated per user group since the Netdata restart. Please check <a href="https://github.com/netdata/netdata/tree/master/src/daemon#virtual-memory" target="_blank">this article</a> for more information.'
|
||||||
},
|
},
|
||||||
'users.vmem': {
|
'users.vmem': {
|
||||||
info: 'Virtual memory allocated per user since the Netdata restart. Please check <a href="https://github.com/netdata/netdata/tree/master/daemon#virtual-memory" target="_blank">this article</a> for more information.'
|
info: 'Virtual memory allocated per user since the Netdata restart. Please check <a href="https://github.com/netdata/netdata/tree/master/src/daemon#virtual-memory" target="_blank">this article</a> for more information.'
|
||||||
},
|
},
|
||||||
|
|
||||||
'apps.minor_faults': {
|
'apps.minor_faults': {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue