Right now we have to use the
./edit-config script to edit alarms. This is fine, but I see a few issues with it:
- The file is quite long
- If you ever add any new alarms or make any bug fixes to the version distributed with Netdata (eg. health/mysql: fix `mysql.slave_status` alarm for go mysql collector by ilyam8 · Pull Request #10513 · netdata/netdata · GitHub), I’d have to manually pull that fix into my copy of the file
I’d like to instead see a way to override individual properties of an alarm, without having to make a copy of the entire configuration file. These overrides would be applied on top of the regular config shipped with Netdata. For example, to silence the
10min_cpu_usage alarm, you could have a config that only contains something like this:
10min_cpu_usage: to: silent
This would result in a small config file only containing my manual overrides and nothing else.
What do you think?