Doc change: Curl no longer supports spaces in the URL. (#16446)
Replaced spaces with: %20
Luis Johnstone committed
Nov 21, 2023 at 23:29 UTC
3acbb6b5ef291c1cf0d00e8289077d9e801fefd0
1 file changed
+2
-2
web/api/health/README.md
+2
-2
@@ -86,14 +86,14 @@ If you've configured and entered your token correctly, you should see the plain
86
If all you need is temporarily disable all health checks, then you issue the following before your maintenance period starts:
87
88
```sh
89
-curl "http://NODE:19999/api/v1/manage/health?cmd=DISABLE ALL" -H "X-Auth-Token: Mytoken"
89
+curl "http://NODE:19999/api/v1/manage/health?cmd=DISABLE%20ALL" -H "X-Auth-Token: Mytoken"
90
```
91
92
The effect of disabling health checks is that the alert criteria are not evaluated at all and nothing is written in the alert log.
93
If you want the health checks to be running but to not receive any notifications during your maintenance period, you can instead use this:
94
95
```sh
96
-curl "http://NODE:19999/api/v1/manage/health?cmd=SILENCE ALL" -H "X-Auth-Token: Mytoken"
96
+curl "http://NODE:19999/api/v1/manage/health?cmd=SILENCE%20ALL" -H "X-Auth-Token: Mytoken"
97
```
98
99
Alerts may then still be raised and logged in Netdata, so you'll be able to see them via the UI.