# HG changeset patch # User Luke Hoersten # Date 1589379909 18000 # Node ID fecc27fe5aef5dd1f7418e73532cfc7587de4eeb # Parent 9cacee5eec83d89e239f54614546a11373fb1118 Disable prometheus rpi exporter GPU query. diff -r 9cacee5eec83 -r fecc27fe5aef prometheus/rpi-client/tasks/main.yaml --- a/prometheus/rpi-client/tasks/main.yaml Wed May 13 09:24:18 2020 -0500 +++ b/prometheus/rpi-client/tasks/main.yaml Wed May 13 09:25:09 2020 -0500 @@ -17,6 +17,13 @@ remote_src: yes dest: "/lib/systemd/system/rpi_exporter.service" +- name: disable GPU temp scraping + become: yes + lineinfile: + path: "/lib/systemd/system/rpi_exporter.service" + regexp: "^ExecStart=/usr/local/bin/rpi_exporter" + line: "ExecStart=/usr/local/bin/rpi_exporter --collector.gpu=false" + - name: install rpi-exporter binary become: yes copy: