본문 바로가기

Prometheus3

JMX exporter + Prometheus + Grafana 로 자바 모니터링 (3) 환경모니터링 서버CentOS 7.6.1810OpenJDK 1.8 운영 서버Tomcat 8.5.58 구조  1. Grafana 를 다운받을 경로를 복사한다.https://grafana.com/grafana/download Download Grafana | Grafana LabsOverview of how to download and install different versions of Grafana on different operating systems.grafana.com 2. 모니터링할 서버에 접속하여 복사해둔 링크를 입력하여 설치한다. 3. 설치가 완료되면 실행명령어를 입력하고 실행 상태를 확인한다. - systemctl start grafana-server.service - systemctl sta.. 2024. 8. 26.
JMX exporter + Prometheus + Grafana 로 자바 모니터링 (2) 환경모니터링 서버CentOS 7.6.1810OpenJDK 1.8 운영 서버Tomcat 8.5.58 1. Prometheus에서 다운받을 링크를 복사한다.https://prometheus.io/download/ Download | PrometheusAn open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.prometheus.io 2. 모니터링할 서버에 접속하여 prometheus 폴더를 생성하고 복사해둔 링크를 입력하여 다운받는다. 3. 다운받은 파일을 압축 해제한다. 4. 다운받은 압축 파일을 삭제.. 2024. 8. 26.
JMX exporter + Prometheus + Grafana 로 자바 모니터링 (1) 현재 사용중인 서버가 cpu 상승과 함께 다운이되고 있어서 모니터링을 위해 알아보던중에 JMX exporter + Prometheus + Grafana 로 조회가 가능하다고 하여 작업해보려고 한다. 환경모니터링 서버CentOS 7.6.1810OpenJDK 1.8 운영 서버Tomcat 8.5.58 1. JMX exporter 다운 - 톰캣 경로로 이동하여 JMX exporter를 설치할 etc 폴더를 생성한다. - JMX exporter 다운 경로를 복사하여 톰캣에 설치한다.https://github.com/prometheus/jmx_exporter GitHub - prometheus/jmx_exporter: A process for exposing JMX Beans via HTTP for Promethe.. 2024. 8. 26.