Adding necessary roles for UPS monitoring
This commit is contained in:
@@ -60,6 +60,18 @@
|
|||||||
- restart munin-node
|
- restart munin-node
|
||||||
when: "'pgsqlservers' in group_names"
|
when: "'pgsqlservers' in group_names"
|
||||||
|
|
||||||
|
- name: "add specific nut value for {{ item }}"
|
||||||
|
file:
|
||||||
|
path: "/etc/munin/plugins/nutups_eaton3s_{{ item }}"
|
||||||
|
src: /usr/share/munin/plugins/nutups_
|
||||||
|
state: link
|
||||||
|
notify:
|
||||||
|
- restart munin-node
|
||||||
|
when: "'nut_server' in group_names"
|
||||||
|
loop:
|
||||||
|
- charge
|
||||||
|
- voltages
|
||||||
|
|
||||||
- name: reconfigure munin-node
|
- name: reconfigure munin-node
|
||||||
shell:
|
shell:
|
||||||
cmd: munin-node-configure --shell | sh
|
cmd: munin-node-configure --shell | sh
|
||||||
|
Reference in New Issue
Block a user