From ea64d9282690f0c996958bec9686eb85fa98193f Mon Sep 17 00:00:00 2001 From: xinhangzhou Date: Wed, 13 Mar 2024 22:31:14 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: xinhangzhou --- roles/stats/templates/telegraf.conf.j2 | 2 +- website/docs/applications/system-tools/healthchecks.io.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/stats/templates/telegraf.conf.j2 b/roles/stats/templates/telegraf.conf.j2 index 7a2144e5bc..2f2e6b3e57 100644 --- a/roles/stats/templates/telegraf.conf.j2 +++ b/roles/stats/templates/telegraf.conf.j2 @@ -255,7 +255,7 @@ # # # ## On most platforms smartctl requires root access. # ## Setting 'use_sudo' to true will make use of sudo to run smartctl. -# ## Sudo must be configured to to allow the telegraf user to run smartctl +# ## Sudo must be configured to allow the telegraf user to run smartctl # ## with out password. # # use_sudo = false # # diff --git a/website/docs/applications/system-tools/healthchecks.io.md b/website/docs/applications/system-tools/healthchecks.io.md index b13e041d68..42c7f15df4 100644 --- a/website/docs/applications/system-tools/healthchecks.io.md +++ b/website/docs/applications/system-tools/healthchecks.io.md @@ -8,6 +8,6 @@ A simple cronjob that uses `curl` to ping a given endpoint on the `healthchecks. ## Usage -Create your own project on [https://healthchecks.io/](https://healthchecks.io/), and set both the time between pings and the grace time. Set your prefered integration such as email. +Create your own project on [https://healthchecks.io/](https://healthchecks.io/), and set both the time between pings and the grace time. Set your preferred integration such as email. Set `healthchecks_enabled: true` in your `inventories//group_vars/nas.yml` file, and if your time between pings is different than the default `healthchecks_ping_minutes`, change it. Finally, set your ping url in the `healthchecks_url` variable.