모니터링(Grafana, Prometheus)/Prometheus

Windows exporter 설치 옵션

babbeolicoding 2023. 4. 28. 20:53

1. 설치파일 다운로드

https://github.com/prometheus-community/windows_exporter/releases 접속 후 다운로드

그냥 설치를 하려면 아래 링크를 보고 설치
https://babbeolicoding.tistory.com/17

Windows exporter 설치

1. 설치파일 다운로드 아래 링크로 접속 후 환경에 맞는 버전을 다운로드 https://github.com/prometheus-community/windows_exporter/releases 2. 다운로드 받은 파일 설치 진행 3. 서비스 확인 - windows_exporter라는 이

babbeolicoding.tistory.com

 
하지만 아래 사이트를 보면 추가적으로 metrics을 수집하기 위해
옵션을 줘야하는 부분이 있다.
 
https://github.com/prometheus-community/windows_exporter

GitHub - prometheus-community/windows_exporter: Prometheus exporter for Windows machines

Prometheus exporter for Windows machines. Contribute to prometheus-community/windows_exporter development by creating an account on GitHub.

github.com

 

2. 설치파일 ENABLED_COLLECTOR 옵션을 사용

msiexec /i [파일경로]/windows_exporter-0.18.1-386.msi ENABLED_COLLECTORS="[defaults],process"

 

3. 설치 후 서비스 속성 확인

"--collectors.enabled [default],process" 이라는 부분이 추가 되었는지 확인

 

4.  서비스 metrics 확인

serverIP:9182/metrics 접속 후 확인
기본 옵션으로 설치할 때와 다른 metric을 확인할 수 있다

'모니터링(Grafana, Prometheus) > Prometheus' 카테고리의 다른 글

Prometheus Helm 설치  (0) 2023.05.01
Prometheus Windows exporter 연결  (0) 2023.04.30
Windows exporter 설치  (0) 2023.04.27
Prometheus Node_exporter 연동  (0) 2023.04.26
node_exporter 설치  (0) 2023.04.25