Skip to content

Commit

Permalink
Merge pull request #33 from nuriel77/fix/ne-fs
Browse files Browse the repository at this point in the history
Fix/ne fs
  • Loading branch information
nuriel77 authored Dec 20, 2017
2 parents 9efb99b + 05a7efc commit b130151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/monitoring/tasks/node_exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
group: "{{ prom_username }}"
recurse: yes

- name: copy exporter systemd service file
- name: copy exporter systemd service file
template:
src: templates/node-exporter.service.j2
dest: /etc/systemd/system/node-exporter.service
Expand Down
2 changes: 1 addition & 1 deletion roles/monitoring/templates/node-exporter.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
[Service]
WorkingDirectory={{ exporter_basedir }}
Restart=on-failure
ExecStart={{ exporter_basedir }}/node_exporter --web.listen-address={{ exporter_bind_address }}:{{ exporter_port }}
ExecStart={{ exporter_basedir }}/node_exporter --web.listen-address={{ exporter_bind_address }}:{{ exporter_port }} --collector.filesystem.ignored-mount-points="^/(sys|proc|dev|run)($|/)"
Type=simple

# No need that exporter messes with /dev
Expand Down

0 comments on commit b130151

Please sign in to comment.