Commit 6cd0daac authored by JooHan Hong's avatar JooHan Hong

prometheus config-map 설정누락

parent d3c9edcd
Pipeline #5312 passed with stages
in 48 seconds
......@@ -811,3 +811,14 @@ WantedBy=default.target
# netstat -lnp |grep 9100
tcp6 0 0 :::9100 :::* LISTEN 12870/node_exporter
```
마지막으로 Prometheus의 Scarape_config 설정에 `job_name`에 추가해줘야 한다.
```bash
# cat prometheus-config-map.yaml
...중략
- job_name: 'ext-node_exporter'
static_configs:
- targets: ['172.24.0.222:9100', '172.24.0.223:9100', '172.24.0.224:9100', '172.24.0.225:9100']
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment