Add command for new health entity file. (#11733)
DShreve2 committed
Nov 12, 2021 at 17:07 UTC
1ddce5c3a1d69819f06319921cc8db2382922a3e
1 file changed
+7
docs/guides/step-by-step/step-05.md
+7
@@ -110,6 +110,13 @@ bother you with notifications.
110
The best way to understand how health entities work is building your own and experimenting with the options. To start,
111
let's build a health entity that triggers an alarm when system RAM usage goes above 80%.
112
113
+We will first create a new file inside of the `health.d/` directory. We'll name our file
114
+`example.conf` for now.
115
+
116
+```bash
117
+./edit-config health.d/example.conf
118
+```
119
+
120
The first line in a health entity will be `alarm:`. This is how you name your entity. You can give it any name you
121
choose, but the only symbols allowed are `.` and `_`. Let's call the alarm `ram_usage`.
122