prometheus监控端口9100和gitlab的prometheus的端口冲突

1.查看gitlab状态

[root@card-db02 /server/prometheus_exporters]# gitlab-ctl status
run: alertmanager: (pid 30836) 1189982s; run: log: (pid 19851) 1190917s
run: gitaly: (pid 30849) 1189982s; run: log: (pid 19791) 1190918s
run: gitlab-monitor: (pid 30860) 1189982s; run: log: (pid 19821) 1190917s
run: gitlab-workhorse: (pid 30873) 1189981s; run: log: (pid 19770) 1190918s
run: logrotate: (pid 20405) 1916s; run: log: (pid 19772) 1190918s
run: nginx: (pid 30909) 1189980s; run: log: (pid 19771) 1190918s
run: node-exporter: (pid 31318) 45214s; run: log: (pid 19811) 1190917s
run: postgres-exporter: (pid 31491) 1189949s; run: log: (pid 19911) 1190916s
run: postgresql: (pid 31504) 1189949s; run: log: (pid 19741) 1190919s
run: prometheus: (pid 19663) 2225s; run: log: (pid 19868) 1190916s
run: redis: (pid 31520) 1189948s; run: log: (pid 19740) 1190919s
run: redis-exporter: (pid 31524) 1189948s; run: log: (pid 19822) 1190917s
run: sidekiq: (pid 14168) 177294s; run: log: (pid 19743) 1190919s
run: unicorn: (pid 31588) 1189945s; run: log: (pid 19742) 1190919s

9100端口被占用

2.进入prometheus的监控项prometheus_exporters

prometheus监控端口9100和gitlab的prometheus的端口冲突_第1张图片

vim编辑node_exporter

查找9100修改

重启

完成

你可能感兴趣的:(监控)