summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2021-11-16 09:18:43 +0200
committerGitHub <noreply@github.com>2021-11-16 10:18:43 +0300
commitacca8c24f229da0ff0238921ebc4b30ddc7125ea (patch)
tree93113595d01b209c62167aa7d0ccaf05bb665218
parent97a13e03612b0d4f2908be57b5114d619626f66d (diff)
Fix typos (#11782)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
-rwxr-xr-x.github/scripts/check-updater.sh6
-rw-r--r--aclk/aclk.c2
-rw-r--r--aclk/aclk.h2
-rw-r--r--aclk/aclk_collector_list.c2
-rw-r--r--aclk/aclk_collector_list.h2
-rw-r--r--aclk/aclk_otp.c6
-rw-r--r--aclk/aclk_tx_msgs.c4
-rw-r--r--aclk/https_client.c2
-rw-r--r--aclk/legacy/aclk_common.h2
-rw-r--r--aclk/legacy/aclk_lws_wss_client.h2
-rw-r--r--aclk/legacy/agent_cloud_link.c2
-rw-r--r--collectors/apps.plugin/apps_plugin.c2
-rw-r--r--collectors/cgroups.plugin/sys_fs_cgroup.c2
-rw-r--r--collectors/charts.d.plugin/ap/ap.chart.sh2
-rw-r--r--collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh2
-rw-r--r--collectors/charts.d.plugin/example/example.chart.sh2
-rw-r--r--collectors/charts.d.plugin/libreswan/libreswan.chart.sh2
-rw-r--r--collectors/charts.d.plugin/nut/nut.chart.sh2
-rw-r--r--collectors/charts.d.plugin/opensips/opensips.chart.sh4
-rw-r--r--collectors/charts.d.plugin/sensors/sensors.chart.sh2
-rw-r--r--collectors/ebpf.plugin/README.md6
-rw-r--r--collectors/ebpf.plugin/ebpf.c8
-rw-r--r--collectors/ebpf.plugin/ebpf_apps.c6
-rw-r--r--collectors/ebpf.plugin/ebpf_cachestat.c6
-rw-r--r--collectors/ebpf.plugin/ebpf_dcstat.c6
-rw-r--r--collectors/ebpf.plugin/ebpf_fd.c6
-rw-r--r--collectors/ebpf.plugin/ebpf_mount.c2
-rw-r--r--collectors/ebpf.plugin/ebpf_oomkill.c2
-rw-r--r--collectors/ebpf.plugin/ebpf_process.c6
-rw-r--r--collectors/ebpf.plugin/ebpf_shm.c4
-rw-r--r--collectors/ebpf.plugin/ebpf_socket.c8
-rw-r--r--collectors/ebpf.plugin/ebpf_swap.c4
-rw-r--r--collectors/ebpf.plugin/ebpf_vfs.c6
-rw-r--r--collectors/node.d.plugin/named/named.node.js4
-rw-r--r--collectors/proc.plugin/README.md2
-rw-r--r--collectors/proc.plugin/proc_net_dev.c2
-rw-r--r--collectors/proc.plugin/proc_pagetypeinfo.c2
-rw-r--r--collectors/proc.plugin/sys_class_infiniband.c2
-rw-r--r--collectors/python.d.plugin/anomalies/anomalies.chart.py4
-rw-r--r--collectors/python.d.plugin/changefinder/README.md12
-rw-r--r--collectors/python.d.plugin/go_expvar/go_expvar.chart.py2
-rw-r--r--collectors/python.d.plugin/mongodb/mongodb.chart.py4
-rw-r--r--collectors/python.d.plugin/postgres/postgres.conf2
-rw-r--r--collectors/python.d.plugin/zscores/README.md12
-rw-r--r--collectors/python.d.plugin/zscores/zscores.conf6
-rw-r--r--collectors/statsd.plugin/README.md6
-rw-r--r--configure.ac6
-rw-r--r--daemon/analytics.c2
-rw-r--r--database/rrdhost.c4
-rw-r--r--docs/Running-behind-lighttpd.md2
-rw-r--r--docs/dashboard/import-export-print-snapshot.mdx2
-rw-r--r--docs/guides/monitor-cockroachdb.md2
-rw-r--r--docs/guides/monitor/anomaly-detection.md2
-rw-r--r--docs/guides/monitor/statsd.md2
-rw-r--r--docs/guides/python-collector.md12
-rw-r--r--exporting/init_connectors.c2
-rw-r--r--exporting/prometheus/prometheus.c6
-rw-r--r--health/REFERENCE.md2
-rw-r--r--health/health.d/geth.conf2
-rwxr-xr-xhealth/notifications/alarm-notify.sh.in2
-rw-r--r--health/notifications/syslog/README.md2
-rw-r--r--libnetdata/ebpf/ebpf.c2
-rw-r--r--libnetdata/json/jsmn.c2
-rw-r--r--libnetdata/procfile/procfile.c4
-rw-r--r--packaging/installer/methods/kickstart.md2
-rw-r--r--packaging/installer/methods/source.md2
-rw-r--r--packaging/installer/methods/synology.md2
-rwxr-xr-xpackaging/makeself/makeself.sh2
-rw-r--r--tests/profile/benchmark-procfile-parser.c4
-rw-r--r--web/api/tests/valid_urls.c2
-rw-r--r--web/server/web_client_cache.c2
71 files changed, 128 insertions, 128 deletions
diff --git a/.github/scripts/check-updater.sh b/.github/scripts/check-updater.sh
index 3ef4857f9e..1051f1eee4 100755
--- a/.github/scripts/check-updater.sh
+++ b/.github/scripts/check-updater.sh
@@ -4,20 +4,20 @@ set -e
# shellcheck source=.github/scripts/functions.sh
. "$(dirname "$0")/functions.sh"
-check_successfull_update() {
+check_successful_update() {
progress "Check netdata version after update"
(
netdata_version=$(netdata -v | awk '{print $2}')
updater_version=$(cat packaging/version)
if [ "$netdata_version" = "$updater_version" ]; then
- echo "Update successfull!"
+ echo "Update successful!"
else
exit 1
fi
) >&2
}
-steps="check_successfull_update"
+steps="check_successful_update"
_main() {
for step in $steps; do
diff --git a/aclk/aclk.c b/aclk/aclk.c
index 801fcaa5d2..9b6a8c3a34 100644
--- a/aclk/aclk.c
+++ b/aclk/aclk.c
@@ -505,7 +505,7 @@ static unsigned long aclk_reconnect_delay() {
return aclk_tbeb_delay(0, aclk_env->backoff.base, aclk_env->backoff.min_s, aclk_env->backoff.max_s);
}
-/* Block till aclk_reconnect_delay is satisifed or netdata_exit is signalled
+/* Block till aclk_reconnect_delay is satisfied or netdata_exit is signalled
* @return 0 - Go ahead and connect (delay expired)
* 1 - netdata_exit
*/
diff --git a/aclk/aclk.h b/aclk/aclk.h
index 87fe9d6622..444de86bec 100644
--- a/aclk/aclk.h
+++ b/aclk/aclk.h
@@ -25,7 +25,7 @@ extern struct aclk_shared_state {
time_t last_popcorn_interrupt;
// To wait for `disconnect` message PUBACK
- // when shuting down
+ // when shutting down
// at the same time if > 0 we know link is
// shutting down
int mqtt_shutdown_msg_id;
diff --git a/aclk/aclk_collector_list.c b/aclk/aclk_collector_list.c
index a251a23a84..2920c9a5c8 100644
--- a/aclk/aclk_collector_list.c
+++ b/aclk/aclk_collector_list.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
-// This is copied from Legacy ACLK, Original Autor: amoss
+// This is copied from Legacy ACLK, Original Author: amoss
// TODO unmess this
diff --git a/aclk/aclk_collector_list.h b/aclk/aclk_collector_list.h
index 7d83a70eab..09c06b14a0 100644
--- a/aclk/aclk_collector_list.h
+++ b/aclk/aclk_collector_list.h
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
-// This is copied from Legacy ACLK, Original Autor: amoss
+// This is copied from Legacy ACLK, Original Author: amoss
// TODO unmess this
diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c
index 4248fc1082..385e22e999 100644
--- a/aclk/aclk_otp.c
+++ b/aclk/aclk_otp.c
@@ -209,7 +209,7 @@ static int parse_passwd_response(const char *json_str, struct auth_data *auth) {
json = json_tokener_parse(json_str);
if (!json) {
- error("JSON-C failed to parse the payload of http respons of /env endpoint");
+ error("JSON-C failed to parse the payload of http response of /env endpoint");
return 1;
}
@@ -359,7 +359,7 @@ static int aclk_parse_otp_error(const char *json_str) {
json = json_tokener_parse(json_str);
if (!json) {
- error("JSON-C failed to parse the payload of http respons of /env endpoint");
+ error("JSON-C failed to parse the payload of http response of /env endpoint");
return 1;
}
@@ -730,7 +730,7 @@ static int parse_json_env(const char *json_str, aclk_env_t *env) {
json = json_tokener_parse(json_str);
if (!json) {
- error("JSON-C failed to parse the payload of http respons of /env endpoint");
+ error("JSON-C failed to parse the payload of http response of /env endpoint");
return 1;
}
diff --git a/aclk/aclk_tx_msgs.c b/aclk/aclk_tx_msgs.c
index 279d3f37f3..237c1bdd24 100644
--- a/aclk/aclk_tx_msgs.c
+++ b/aclk/aclk_tx_msgs.c
@@ -20,7 +20,7 @@ static void aclk_send_message_subtopic(mqtt_wss_client client, json_object *msg,
const char *topic = aclk_get_topic(subtopic);
if (unlikely(!topic)) {
- error("Couldn't get topic. Aborting mesage send");
+ error("Couldn't get topic. Aborting message send");
return;
}
@@ -74,7 +74,7 @@ static uint16_t aclk_send_message_subtopic_pid(mqtt_wss_client client, json_obje
const char *topic = aclk_get_topic(subtopic);
if (unlikely(!topic)) {
- error("Couldn't get topic. Aborting mesage send");
+ error("Couldn't get topic. Aborting message send");
return 0;
}
diff --git a/aclk/https_client.c b/aclk/https_client.c
index 0f08516a9b..470c3fdf3e 100644
--- a/aclk/https_client.c
+++ b/aclk/https_client.c
@@ -606,7 +606,7 @@ static int parse_host_port(url_t *url) {
error(URL_PARSER_LOG_PREFIX ": specified but no port number");
return 1;
}
- if (port_len > 5 /* MAX port lenght is 5digit long in decimal */) {
+ if (port_len > 5 /* MAX port length is 5digit long in decimal */) {
error(URL_PARSER_LOG_PREFIX "port # is too long");
return 1;
}
diff --git a/aclk/legacy/aclk_common.h b/aclk/legacy/aclk_common.h
index c5e14b153f..080680ff11 100644
--- a/aclk/legacy/aclk_common.h
+++ b/aclk/legacy/aclk_common.h
@@ -34,7 +34,7 @@ extern netdata_mutex_t legacy_aclk_shared_state_mutex;
#define ACLK_IS_HOST_POPCORNING(host) (ACLK_IS_HOST_INITIALIZING(host) && host->aclk_state.t_last_popcorn_update)
extern struct legacy_aclk_shared_state {
- // optimization to avoid looping trough hosts
+ // optimization to avoid looping through hosts
// every time Query Thread wakes up
RRDHOST *next_popcorn_host;
diff --git a/aclk/legacy/aclk_lws_wss_client.h b/aclk/legacy/aclk_lws_wss_client.h
index eb99ee0248..c68649cf33 100644
--- a/aclk/legacy/aclk_lws_wss_client.h
+++ b/aclk/legacy/aclk_lws_wss_client.h
@@ -58,7 +58,7 @@ struct aclk_lws_wss_engine_instance {
struct lws_wss_packet_buffer *write_buffer_head;
struct lws_ring *read_ringbuffer;
- //flags to be readed by engine user
+ //flags to be read by engine user
int websocket_connection_up;
// currently this is by default disabled
diff --git a/aclk/legacy/agent_cloud_link.c b/aclk/legacy/agent_cloud_link.c
index 919a40ca0c..80ca239718 100644
--- a/aclk/legacy/agent_cloud_link.c
+++ b/aclk/legacy/agent_cloud_link.c
@@ -222,7 +222,7 @@ char *get_topic(char *sub_topic, char *final_topic, int max_size)
return final_topic;
}
-/* Avoids the need to scan trough all RRDHOSTS
+/* Avoids the need to scan through all RRDHOSTS
* every time any Query Thread Wakes Up
* (every time we need to check child popcorn expiry)
* call with legacy_aclk_shared_state_LOCK held
diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c
index 700d76138f..3bed4bb6bc 100644
--- a/collectors/apps.plugin/apps_plugin.c
+++ b/collectors/apps.plugin/apps_plugin.c
@@ -3355,7 +3355,7 @@ static void normalize_utilization(struct target *root) {
cgtime_fix_ratio = 1.0; //(double)(global_utime + global_stime) / (double)(utime + cutime + stime + cstime);
}
else if((global_utime + global_stime > utime + stime) && (cutime || cstime)) {
- // childrens resources are too high
+ // children resources are too high
// lower only the children resources
utime_fix_ratio =
stime_fix_ratio =
diff --git a/collectors/cgroups.plugin/sys_fs_cgroup.c b/collectors/cgroups.plugin/sys_fs_cgroup.c
index 9660199e3a..92aa22c771 100644
--- a/collectors/cgroups.plugin/sys_fs_cgroup.c
+++ b/collectors/cgroups.plugin/sys_fs_cgroup.c
@@ -4203,7 +4203,7 @@ void *cgroups_main(void *ptr) {
int error = uv_thread_create(&discovery_thread.thread, cgroup_discovery_worker, NULL);
if (error) {
- error("CGROUP: cannot create tread worker. uv_thread_create(): %s", uv_strerror(error));
+ error("CGROUP: cannot create thread worker. uv_thread_create(): %s", uv_strerror(error));
goto exit;
}
uv_thread_set_name_np(discovery_thread.thread, "PLUGIN[cgroups]");
diff --git a/collectors/charts.d.plugin/ap/ap.chart.sh b/collectors/charts.d.plugin/ap/ap.chart.sh
index 5bf8799155..80c9dc6026 100644
--- a/collectors/charts.d.plugin/ap/ap.chart.sh
+++ b/collectors/charts.d.plugin/ap/ap.chart.sh
@@ -92,7 +92,7 @@ EOF
# _update is called continuously, to collect the values
ap_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
# do all the work to collect / calculate the values
# for each dimension
diff --git a/collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh b/collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
index 06e7aa078a..e78d99e7d4 100644
--- a/collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
+++ b/collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
@@ -118,7 +118,7 @@ EOF
apcupsd_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
# do all the work to collect / calculate the values
# for each dimension
diff --git a/collectors/charts.d.plugin/example/example.chart.sh b/collectors/charts.d.plugin/example/example.chart.sh
index b75587750e..6bbbcf1d7d 100644
--- a/collectors/charts.d.plugin/example/example.chart.sh
+++ b/collectors/charts.d.plugin/example/example.chart.sh
@@ -103,7 +103,7 @@ EOF
# _update is called continuously, to collect the values
example_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
example_get || return 1
diff --git a/collectors/charts.d.plugin/libreswan/libreswan.chart.sh b/collectors/charts.d.plugin/libreswan/libreswan.chart.sh
index c26d46f7e7..d526f7a917 100644
--- a/collectors/charts.d.plugin/libreswan/libreswan.chart.sh
+++ b/collectors/charts.d.plugin/libreswan/libreswan.chart.sh
@@ -173,7 +173,7 @@ VALUESEOF
# _update is called continuously, to collect the values
libreswan_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
libreswan_get || return 1
libreswan_now=$(date +%s)
diff --git a/collectors/charts.d.plugin/nut/nut.chart.sh b/collectors/charts.d.plugin/nut/nut.chart.sh
index 60233361eb..2f7e3f3365 100644
--- a/collectors/charts.d.plugin/nut/nut.chart.sh
+++ b/collectors/charts.d.plugin/nut/nut.chart.sh
@@ -129,7 +129,7 @@ EOF2
nut_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
# do all the work to collect / calculate the values
# for each dimension
diff --git a/collectors/charts.d.plugin/opensips/opensips.chart.sh b/collectors/charts.d.plugin/opensips/opensips.chart.sh
index 11f598494c..02401fd592 100644
--- a/collectors/charts.d.plugin/opensips/opensips.chart.sh
+++ b/collectors/charts.d.plugin/opensips/opensips.chart.sh
@@ -147,7 +147,7 @@ EOF
opensips_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
# do all the work to collect / calculate the values
# for each dimension
@@ -158,7 +158,7 @@ opensips_update() {
# local opensips_client_http_ then one or more of these a-z 0-9 _ then = and one of more of 0-9
# local opensips_server_all_ then one or more of these a-z 0-9 _ then = and one of more of 0-9
# 4. then execute this as a script with the eval
- # be very carefull with eval:
+ # be very careful with eval:
# prepare the script and always grep at the end the lines that are useful, so that
# even if something goes wrong, no other code can be executed
diff --git a/collectors/charts.d.plugin/sensors/sensors.chart.sh b/collectors/charts.d.plugin/sensors/sensors.chart.sh
index f207edfbad..bff381f1cf 100644
--- a/collectors/charts.d.plugin/sensors/sensors.chart.sh
+++ b/collectors/charts.d.plugin/sensors/sensors.chart.sh
@@ -237,7 +237,7 @@ sensors_create() {
# _update is called continuously, to collect the values
sensors_update() {
# the first argument to this function is the microseconds since last update
- # pass this parameter to the BEGIN statement (see bellow).
+ # pass this parameter to the BEGIN statement (see below).
# do all the work to collect / calculate the values
# for each dimension
diff --git a/collectors/ebpf.plugin/README.md b/collectors/ebpf.plugin/README.md
index 57934b27aa..60f1fd742d 100644
--- a/collectors/ebpf.plugin/README.md
+++ b/collectors/ebpf.plugin/README.md
@@ -357,7 +357,7 @@ following functions:
single write operation using a group of buffers rather than 1).
- `vfs_read`: Function used for monitoring the number of successful & failed
filesystem read calls, as well as the total number of read bytes.
-- `vfs_readv` Same function as `vfs_read` but for vector reads (i.e. a singe
+- `vfs_readv` Same function as `vfs_read` but for vector reads (i.e. a single
read operation using a group of buffers rather than 1).
- `vfs_unlink`: Function used for monitoring the number of successful & failed
filesystem unlink calls.
@@ -589,8 +589,8 @@ Linux metrics:
- Number of pages brought from disk. (`cachestat_misses`)
- directory cache
- Ratio of files available in directory cache. (`dc_hit_ratio`)
- - Number of files acessed. (`dc_reference`)
- - Number of files acessed that were not in cache. (`dc_not_cache`)
+ - Number of files accessed. (`dc_reference`)
+ - Number of files accessed that were not in cache. (`dc_not_cache`)
- Number of files not found. (`dc_not_found`)
- ipc shm
- Number of calls to `shm_get`. (`shmget_call`)
diff --git a/collectors/ebpf.plugin/ebpf.c b/collectors/ebpf.plugin/ebpf.c
index 34c9d5de54..71a13e84fb 100644
--- a/collectors/ebpf.plugin/ebpf.c
+++ b/collectors/ebpf.plugin/ebpf.c
@@ -355,7 +355,7 @@ void write_chart_dimension(char *dim, long long value)
* @param move the pointer with the values that will be published
* @param end the number of values that will be written on standard output
*
- * @return It returns a variable tha maps the charts that did not have zero values.
+ * @return It returns a variable that maps the charts that did not have zero values.
*/
void write_count_chart(char *name, char *family, netdata_publish_syscall_t *move, uint32_t end)
{
@@ -424,7 +424,7 @@ void ebpf_one_dimension_write_charts(char *family, char *chart, char *dim, long
* @param dread the dimension name
* @param vread the value for previous dimension
*
- * @return It returns a variable tha maps the charts that did not have zero values.
+ * @return It returns a variable that maps the charts that did not have zero values.
*/
void write_io_chart(char *chart, char *family, char *dwrite, long long vwrite, char *dread, long long vread)
{
@@ -599,7 +599,7 @@ void ebpf_create_charts_on_apps(char *id, char *title, char *units, cha