Skip to content
Snippets Groups Projects
Verified Commit 1c9ade14 authored by David Mehren's avatar David Mehren
Browse files

Use different names for default and custom alarm setting files

parent ed02bf50
No related branches found
No related tags found
No related merge requests found
Pipeline #192232 passed
......@@ -4,7 +4,7 @@ Configures netdata to monitor the host and send alerts.
## Alerts
Make sure to set `netdata_from_email` and `netdata_to_email` and to configure the `msmtp_relay` role.
You can override alarm settings in `files/health_override.conf`
You can override alarm settings in `files/{{ inventory_hostname }}/20_netdata_health_override.conf`
## Incoming replication
If you set `netdata_master` to `true` it will also act as a central target for other collectors.
......
File moved
......@@ -26,13 +26,13 @@
group: root
mode: "0644"
with_fileglob:
- "{{ inventory_hostname }}/netdata_health_override.conf"
- netdata_health_override.conf
- 10_ansible_defaults.conf
- "{{ inventory_hostname }}/20_netdata_health_override.conf"
notify: Reload netdata alarms
- name: Copy last_collected alert config
ansible.builtin.template:
dest: "/etc/netdata/health.d/last_collected.conf"
dest: "/etc/netdata/health.d/10_last_collected.conf"
src: "last_collected.conf.j2"
owner: root
group: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment