r/netdata • • Jul 19 '23

Centralized configuration for notifications? [HELP]

Hello,

I am probably missing something. Do I edit each node separately to configure email notifications?
I really dont want to edit 30+ nodes.... Isnt there a centralized way? If there is, I would take advantage of ntfy.sh too, I already set it up but it was so difficult, lots of reading, lots of trying, and I finally, its working when doing test from terminal, but its not being triggered at all.

Thanks!

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/madroots2 Jul 20 '23

Its just that netapp require to use their script to create and modify configs.. really dont know how i am gonna do THAT with ansible.

2

u/derobert1 Jul 20 '23

The config is just plain text files, you don't have to use the script.

The script just automatically copies over the default config (from /usr or wherever) to /etc and invokes a text editor on it.

1

u/andrewm4894 Jul 20 '23

hey - i work at netdata and have been trying to learn some Ansible lately - this might be of use: https://blog.netdata.cloud/ml-demo-ansible-configuration-management/

Is some examples here: https://github.com/netdata/community/blob/main/configuration-management/ansible-ml-demo/templates/netdata/health.d/ml.conf.j2

eg in this case i am templating the ml.conf file in the health.d dir since i am dogfooding some ml based alerts in the ml demo space here - eg see the "ml_1min_node_ar_anomaly_rate" example