summaryrefslogtreecommitdiffstats
path: root/web/api/health
diff options
context:
space:
mode:
authorLuis Johnstone <67982749+luisj1983@users.noreply.github.com>2023-11-21 23:29:02 +0000
committerGitHub <noreply@github.com>2023-11-22 01:29:02 +0200
commit3acbb6b5ef291c1cf0d00e8289077d9e801fefd0 (patch)
tree1efb7458df9bba7421b03170c7208b85052048c5 /web/api/health
parentb515c74228cab1ec6de17e003dea8e6cffc9f384 (diff)
Doc change: Curl no longer supports spaces in the URL. (#16446)
Replaced spaces with: %20
Diffstat (limited to 'web/api/health')
-rw-r--r--web/api/health/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/api/health/README.md b/web/api/health/README.md
index 90ad6455ad..b8e2c72910 100644
--- a/web/api/health/README.md
+++ b/web/api/health/README.md
@@ -86,14 +86,14 @@ If you've configured and entered your token correctly, you should see the plain
If all you need is temporarily disable all health checks, then you issue the following before your maintenance period starts:
```sh
-curl "http://NODE:19999/api/v1/manage/health?cmd=DISABLE ALL" -H "X-Auth-Token: Mytoken"
+curl "http://NODE:19999/api/v1/manage/health?cmd=DISABLE%20ALL" -H "X-Auth-Token: Mytoken"
```
The effect of disabling health checks is that the alert criteria are not evaluated at all and nothing is written in the alert log.
If you want the health checks to be running but to not receive any notifications during your maintenance period, you can instead use this:
```sh
-curl "http://NODE:19999/api/v1/manage/health?cmd=SILENCE ALL" -H "X-Auth-Token: Mytoken"
+curl "http://NODE:19999/api/v1/manage/health?cmd=SILENCE%20ALL" -H "X-Auth-Token: Mytoken"
```
Alerts may then still be raised and logged in Netdata, so you'll be able to see them via the UI.