Archived
archived old monitoring system
This commit is contained in:
1 parent
f17a8ee22c
commit
dccff1d61c
25 files changed
+2396
-1897
No files matched your search
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
node-exporter:
|
||||
profiles: ["monitoring","all","node-exporter", "prometheus"]
|
||||
image: prom/node-exporter:latest
|
||||
container_name: node-exporter
|
||||
pid: host
|
||||
volumes:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /:/rootfs:ro
|
||||
command:
|
||||
- "--path.procfs=/host/proc"
|
||||
- "--path.sysfs=/host/sys"
|
||||
- "--path.rootfs=/rootfs"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
# - edge
|
||||
- monitor
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:9100/metrics"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
Reference in new issue
Block a user