munin: Add ipmi_ plugins on dedicated hardware

unstable
Ludovic Poujol 2 weeks ago
parent c310482ba6
commit a540235077
  1. 2
      CHANGELOG.md
  2. 25
      munin/tasks/main.yml

@ -17,9 +17,11 @@ The **patch** part changes is incremented if multiple releases happen the same m
* vrrp: add an `ip.yml` task file to help create VRRP addresses
* webapps/nextcloud: Add compatibility with apache2, and apache2 mod_php.
* memcached: NRPE check for multi-instance setup
* munin: Add ipmi_ plugins on dedicated hardware
* proftpd: Add options to override configs (and add a warning if file was overriden)
* proftpd: Allow user auth with ssh keys
### Changed
* evocheck: upstream release 22.09

@ -1,12 +1,13 @@
---
- name: Ensure that Munin is installed
- name: Ensure that Munin (and useful dependencies) is installed
apt:
name:
- munin
- munin-node
- munin-plugins-core
- munin-plugins-extra
- gawk
state: present
tags:
- munin
@ -79,16 +80,32 @@
tags:
- munin
- name: Enable sensors plugin unless VM detected
- name: Enable sensors_ plugin on dedicated hardware
file:
src: /usr/share/munin/plugins/sensors_
dest: /etc/munin/plugins/sensors_temp
dest: "/etc/munin/plugins/sensors_{{ item }}"
state: link
when: ansible_virtualization_role != "guest"
with_items:
- fan
- temp
when: ansible_virtualization_role == "host"
notify: restart munin-node
tags:
- munin
- name: Enable ipmi_ plugin on dedicated hardware
file:
src: /usr/share/munin/plugins/ipmi_
dest: "/etc/munin/plugins/ipmi_{{ item }}"
state: link
when: ansible_virtualization_role == "host"
notify: restart munin-node
with_items:
- fans
- temp
- power
- volts
- name: adjustments for grsec kernel
blockinfile:
dest: /etc/munin/plugin-conf.d/munin-node

Loading…
Cancel
Save