Skip to content

Commit

Permalink
Merge pull request #1881 from SUSE/wip-bsc1188486
Browse files Browse the repository at this point in the history
monitoring: put node_exporter ARGS all on one line (bsc#1188486)
  • Loading branch information
tserong authored and Hypertrophik committed Jul 28, 2021
2 parents 325002f + 98fcc90 commit f439119
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ set node exporter service args:
- name: /etc/sysconfig/prometheus-node_exporter
- mode: 644
- contents: |
ARGS="--collector.diskstats.ignored-devices=^(ram|loop|fd)\d+$ \
--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/) \
--collector.textfile.directory=/var/lib/prometheus/node-exporter \
--collector.bonding --collector.ntp"
ARGS="--collector.diskstats.ignored-devices=^(ram|loop|fd)\d+$ --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/) --collector.textfile.directory=/var/lib/prometheus/node-exporter --collector.bonding --collector.ntp"
{% if grains.get('os', '') == 'CentOS' %}

Expand Down

0 comments on commit f439119

Please sign in to comment.