Skip to content

Commit

Permalink
fixes #35 add parameters to node_exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Grotax committed Dec 21, 2024
1 parent 4ac8440 commit bc227d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion roles/prometheus/files/node_exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network-online.target

[Service]
User=prometheus
ExecStart=/opt/node_exporter/node_exporter --web.listen-address=127.0.0.1:9100
ExecStart=/opt/node_exporter/node_exporter -–collector.systemd –-collector.processes --web.listen-address=127.0.0.1:9100

[Install]
WantedBy=default.target
1 change: 0 additions & 1 deletion roles/prometheus/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
- name: Check if node_exporter-adv needs to be installed or upgraded
ansible.builtin.include_tasks: download.yml
when: installed_node_exporter_version.stdout != node_exporter_version

0 comments on commit bc227d2

Please sign in to comment.