From 4bd9e36ff45b2001b048a23a218e26605deac7d0 Mon Sep 17 00:00:00 2001 From: Georg Date: Fri, 6 Aug 2021 17:42:45 +0200 Subject: Mass Commit 06/08/2021 Signed-off-by: Georg --- nginx_exporter/README.md | 1 + nginx_exporter/nginx_exporter.service | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 nginx_exporter/README.md create mode 100644 nginx_exporter/nginx_exporter.service (limited to 'nginx_exporter') diff --git a/nginx_exporter/README.md b/nginx_exporter/README.md new file mode 100644 index 0000000..596cb4a --- /dev/null +++ b/nginx_exporter/README.md @@ -0,0 +1 @@ +We are using this one: https://github.com/nginxinc/nginx-prometheus-exporter diff --git a/nginx_exporter/nginx_exporter.service b/nginx_exporter/nginx_exporter.service new file mode 100644 index 0000000..5a974c3 --- /dev/null +++ b/nginx_exporter/nginx_exporter.service @@ -0,0 +1,12 @@ +[Unit] +Description=Nginx Exporter +After=network.target + +[Service] +User=nginx_exporter +Group=prometheus +Type=simple +ExecStart=/opt/nginx_exporter/nginx-prometheus-exporter -nginx.scrape-uri=http://127.0.0.2:8080/stub_status + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3