copr-backend: prometheus: dump data about systemd units
This commit is contained in:
parent
8593bea6ae
commit
36eee6abbf
1 changed files with 10 additions and 0 deletions
|
@ -406,3 +406,13 @@
|
|||
copy: src=cron.daily/copr-backend dest=/etc/cron.daily/
|
||||
mode=0755
|
||||
tags: [cron_tasks]
|
||||
|
||||
- name: configure options in node exporter
|
||||
lineinfile:
|
||||
path: /etc/default/prometheus-node-exporter
|
||||
regexp: '^ARGS='
|
||||
line: 'ARGS=--collector.systemd'
|
||||
backrefs: yes
|
||||
notify: restart node_exporter
|
||||
tags:
|
||||
- prometheus_node_exporter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue