feat: send nsca conf

This commit is contained in:
2022-12-28 20:53:41 +01:00
parent f4bbf46243
commit e86db3c765
3 changed files with 14 additions and 2 deletions

View File

@@ -25,7 +25,19 @@
dest: "/etc/monitoring-tools/"
version: master
- name: Copy nsca-ng and send_nsca to /bin/
- name: Copy send_nsca to /bin/
copy:
src: send_nsca
dest: /bin/send_nsca
mode: 0755
- name: Copy send nsca config
template:
src: nsca_ng.cfg.js
dest: /etc/nsca_ng.cfg
mode: 0755
- name: Copy systemd monitoring
copy:
src: pynagsystemd.py
dest: /bin/pynagsystemd.py
@@ -44,7 +56,7 @@
- name: Template Remote Monitoring Config
template:
src: monitoring.conf
src: monitoring.conf.j2
dest: /etc/monitoring.conf
owner: root
mode: 644