@cryptotaxi247 / netdata-1 / commits / 924bf118e

health: clarify which health configuration entities are required / optional (#11086)

Ilya Mashchenko committed May 4, 2021 at 18:31 UTC 924bf118e59ddf72052b75f43c3eb7ef13afe693
1 file changed +3 -2
health/REFERENCE.md
+3 -2
@@ -47,9 +47,10 @@ to the same chart, Netdata will use the alarm.
47
48 Netdata parses the following lines. Beneath the table is an in-depth explanation of each line's purpose and syntax.
49
50 -- The `on` and `lookup` lines are **always required**.
51 -- Each entity **must** have one of the following lines: `calc`, `warn`, or `crit`.
50 - The `alarm` or `template` line must be the first line of any entity.
51 +- The `on` line is **always required**.
52 +- The `every` line is **required** if not using `lookup`.
53 +- Each entity **must** have at least one of the following lines: `lookup`, `calc`, `warn`, or `crit`.
54 - A few lines use space-separated lists to define how the entity behaves. You can use `*` as a wildcard or prefix with
55 `!` for a negative match. Order is important, too! See our [simple patterns docs](../libnetdata/simple_pattern/) for
56 more examples.