Add monit monitoring

This commit is contained in:
phil 2023-02-06 22:38:19 +01:00
parent c76e081dc3
commit 6ff025d4b7
4 changed files with 25 additions and 1 deletions

View file

@ -24,7 +24,7 @@
mode: 0644
notify: restart munin-node
- name: "Mpnitoring | Enable Munin plugins"
- name: "Monitoring | Enable Munin plugins"
ansible.builtin.file:
src: "/usr/share/munin/plugins/{{ item }}"
dest: "/etc/munin/plugins/{{ item }}"
@ -34,3 +34,10 @@
- apache_processes
- apache_volume
notify: restart munin-node
- name: "Monitoring | Enable Monit configuration"
ansible.builtin.template:
src: monit.conf
dest: /etc/monit/conf-enabled/apache2
mode: 0644
notify: reload monit