본문 바로가기
728x90

Grafana3

[Monitoring] Grafana + Prometheus 설치 [3/3] Prometheus 설치Prometheus 인스톨sudo apt install prometheusPrometheus 로그인기본 도메인 : http://[VM IP]:9090Grafana에 Prometheus 연동Grafana 접속 - Connections - Add new connectionPrometheus 선택 - Add new data sourceConnection URL에 Prometheus 도메인 입력http://[VM IP]:9090하단 Save & Test 클릭 2024. 5. 3.
[Monitoring] Grafana + Prometheus 설치 [2/3] Grafana 시작Systemd 서비스 시작sudo systemctl daemon-reloadsudo systemctl start grafana-serversudo systemctl status grafana-server부팅 시 Grafana 자동 실행 설정sudo systemctl enable grafana-server.serviceGrafana 서버 파일 생성# Alternatively, create a file in /etc/systemd/system/grafana-server.service.d/override.confsudo systemctl edit grafana-server.serviceGrafana 설정 추가# grafana-server.service 파일에 아래 내용 추가[Service]#.. 2024. 5. 3.
[Monitoring] Grafana + Prometheus 설치 [1/3] 안녕하세요 치즈잼입니다.모니터링 툴인 그라파나와 프로메테우스 설치 방법에 대해 정리해 보았습니다.구성 환경 및 권장사항Ubuntu OS 버전 : 20.04.1최소 권장 메모리 : 512MB최소 권장 CPU : 1Grafana 설치Grafana Docshttps://grafana.com/docs/grafana/latest/setup-grafana/installation/debian/필수 요소 패키지 설치sudo apt-get install -y apt-transport-https software-properties-common wgetGPG 키 가져오기sudo mkdir -p /etc/apt/keyrings/wget -q -O - | gpg --dearmor | sudo tee /etc/apt/keyri.. 2024. 5. 3.
728x90