some more security

monitoring
histausse 3 years ago
parent e691ca45b0
commit 95b729d69c
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -23,8 +23,8 @@
template:
src: prometheus.yml
dest: /etc/prometheus/prometheus.yml
owner: root
group: root
owner: prometheus
group: prometheus
mode: '0640'
notify: Restart prometheus
no_log: true

@ -30,10 +30,10 @@ scrape_configs:
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- targets: ['{{ lan_address }}:9090']
- job_name: node
# If prometheus-node-exporter is installed, grab stats about the local
# machine by default.
static_configs:
- targets: ['172.20.1.1:9100']
- targets: ['{{ lan_address }}:9100']

Loading…
Cancel
Save