From ceb75182df16eca160e3bf7063e1ddc213514986 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 5 Feb 2023 15:01:44 +0900 Subject: [PATCH] Do not use `supervisor` to start/stop `node_exporter`. --- .../files/etc/supervisor/conf.d/node_exporter.conf | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 cookbooks/prometheus-exporters/files/etc/supervisor/conf.d/node_exporter.conf diff --git a/cookbooks/prometheus-exporters/files/etc/supervisor/conf.d/node_exporter.conf b/cookbooks/prometheus-exporters/files/etc/supervisor/conf.d/node_exporter.conf deleted file mode 100644 index 7107241..0000000 --- a/cookbooks/prometheus-exporters/files/etc/supervisor/conf.d/node_exporter.conf +++ /dev/null @@ -1,8 +0,0 @@ -[program:node_exporter] -command=/usr/local/bin/node_exporter --web.listen-address="127.0.0.1:9100" -collector.systemd -stdout_logfile=/var/log/supervisor/node_exporter.log -redirect_stderr=true -stdout_logfile_maxbytes=1MB -stdout_logfile_backups=5 -autorestart=true -stopsignal=HUP