mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 08:38:35 +01:00
update: async service fixes & nsca server
This commit is contained in:
@@ -41,6 +41,21 @@
|
||||
dest: /bin/send_nsca
|
||||
mode: 0755
|
||||
|
||||
- name: Create nsca server directory
|
||||
file:
|
||||
path: /etc/nsca-ng/
|
||||
mode: 0750
|
||||
owner: root
|
||||
group: nagios
|
||||
|
||||
- name: Copy nsca server config
|
||||
copy:
|
||||
src: nsca_server.conf
|
||||
dest: /etc/nsca-ng/nsca-ng.cfg
|
||||
owner: root
|
||||
group: nagios
|
||||
mode: 0644
|
||||
|
||||
- name: Copy icinga configuration
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
@@ -59,6 +74,6 @@
|
||||
- name: Signal command loaded from monitoring tools
|
||||
lineinfile:
|
||||
path: /etc/icinga2/icinga2.conf
|
||||
line: "include monitoring-tools/commands.d/signal-notify.conf"
|
||||
line: '"include /etc/monitoring-tools/commands.d/signal-notify.conf"'
|
||||
notify:
|
||||
- restart icinga
|
||||
|
||||
Reference in New Issue
Block a user