Remove nginx-exporter config. Nginx isn't in the normal netbox-docker config now that nginx-unit is used inside the netbox container.
@@ -16,15 +16,6 @@ services:
|
||||
tmpfs:
|
||||
mode: 0o01777
|
||||
|
||||
# nginx
|
||||
nginx-exporter:
|
||||
image: nginx/nginx-prometheus-exporter
|
||||
depends_on:
|
||||
- nginx
|
||||
command:
|
||||
- -nginx.scrape-uri
|
||||
- http://nginx:8081/stub_status
|
||||
|
||||
# postgres
|
||||
postgres-exporter:
|
||||
image: wrouesnel/postgres_exporter:v0.8.0
|
||||
@@ -59,7 +50,6 @@ services:
|
||||
- postgres-exporter
|
||||
- redis-cache-exporter
|
||||
- redis-worker-exporter
|
||||
- nginx-exporter
|
||||
- netbox
|
||||
ports:
|
||||
- '9090:9090'
|
||||
@@ -104,10 +94,6 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets: ['netbox:8001']
|
||||
|
||||
- job_name: nginx
|
||||
static_configs:
|
||||
- targets: ['nginx-exporter:9113']
|
||||
|
||||
- job_name: postgresql
|
||||
static_configs:
|
||||
- targets: ['postgres-exporter:9187']
|
||||
|
||||
Reference in New Issue
Block a user