configure reports to prometheus
This commit is contained in:
parent
345d3b5041
commit
52d4c1b29a
2 changed files with 9 additions and 0 deletions
3
files/prometheus.yaml
Normal file
3
files/prometheus.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
textfile_directory: '/var/lib/prometheus/node-exporter'
|
||||
report_filename: 'puppet_server.prom'
|
|
@ -132,3 +132,9 @@
|
|||
service:
|
||||
name: update_puppet_code
|
||||
enabled: true
|
||||
|
||||
- name: Configure reports to prometheus exporter
|
||||
copy:
|
||||
src: files/prometheus.yaml
|
||||
dest: /etc/puppetlabs/puppet/prometheus.yaml
|
||||
backup: yes
|
Loading…
Reference in a new issue