Add monit monitoring
This commit is contained in:
parent
c76e081dc3
commit
6ff025d4b7
4 changed files with 25 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue