728x90 monitoring4 [Monitoring] Zabbix + Grafana 모니터링 구축 [2] 그라파나에서 Cisco 스위치의 정보를 대쉬보드에 연결하여 모니터링 하는 방법에 대해 정리해 보았습니다.- 스위치를 호스트에 연결하고 1시간을 기다리면 정보가 수집되어 아이템들을 사용할 수 있게됩니다. - 설정 - 호스트 - 아이템 클릭 - 아이템이 400개 이상 추가된 것 확인그라파나로 이동- Create - Dashboard - Add an empty panel - 하단 - Group 선택 - Host 선택 - Item tag 선택 - Item 선택 [예시 : Component:system - Cisco IOS : Uptime (network)] - 표시 방법 변경하는 법 - 우측 상단 Time series 클릭 - Gauge 선택 [텍스트 형식으로 표현] - Apply - 패널 추가 - 우측 상단.. 2024. 10. 2. [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/keyrings/grafana.g.. 2024. 5. 3. 이전 1 다음 728x90