From faaa8a90c16967ec12f299db6abbe1101388a343 Mon Sep 17 00:00:00 2001 From: kchung Date: Fri, 5 Dec 2025 14:32:56 +0800 Subject: [PATCH 1/2] feat: add node exporter --- se_bootstrap.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/se_bootstrap.sh b/se_bootstrap.sh index a82e077..87da7e1 100644 --- a/se_bootstrap.sh +++ b/se_bootstrap.sh @@ -74,6 +74,21 @@ volumes: shared: services: + node-exporter: + image: prom/node-exporter:latest + restart: unless-stopped + ports: + - 9100:9100 + volumes: + - /proc:/host/proc:ro + - /sys:/host/sys:ro + - /:/rootfs:ro + command: + - '--path.procfs=/host/proc' + - '--path.rootfs=/rootfs' + - '--path.sysfs=/host/sys' + - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)' + - '--no-collector.arp' se2: image: mammothcyber/se:latest network_mode: host From a7a6643b73dfe1f36327a194fd92a5442025d179 Mon Sep 17 00:00:00 2001 From: kchung Date: Thu, 15 Jan 2026 15:08:10 +0800 Subject: [PATCH 2/2] update --- se_bootstrap.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/se_bootstrap.sh b/se_bootstrap.sh index 87da7e1..c4b6e2c 100644 --- a/se_bootstrap.sh +++ b/se_bootstrap.sh @@ -76,9 +76,8 @@ volumes: services: node-exporter: image: prom/node-exporter:latest + network_mode: host restart: unless-stopped - ports: - - 9100:9100 volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro @@ -105,6 +104,9 @@ services: - network_type="$network_type" - network_name="$network_name" - service_edge_number="$service_edge_number" + - metrics_server="http://127.0.0.1:9100/metrics" + - streaming_server_metrics_port="9101" + - streaming_server_updater_port="7402" - HTTP_PROXY=$proxyUrl volumes: - ./:/home/se/conf/