we removed all the stdout logging.
@ -9,6 +9,8 @@
src: "{{ playbook_dir }}/promtools/results/lustre_exporter"
dest: /usr/local/prometheus/lustre_exporter
mode: 0755
tags:
- install
- name: Install service files.
template:
@ -5,6 +5,7 @@ Description=prometheus lustre exporter
TimeoutStartSec=0
Restart=always
ExecStart=/usr/local/prometheus/lustre_exporter --collector.ost=disabled --collector.mdt=core --collector.mgs=extended
StandardOutput=null
[Install]
WantedBy=multi-user.target