07.Monitoring/Zabbix
[Zabbix] Zabbix 5.0 Docker 모니터링
basicinfo119
2024. 5. 14. 16:13
728x90
반응형
- Docker 상태를 모니터링 하기 위해서는 zabbix-agent2 설치가 필요합니다.
- zabbix-agent2 설치를 통해 Docker 리소스를 모니터링 하는 방법에 알아봅니다.
Agent vs agent 2 comparison
- zabbix 홈페이지에 agent 에 대한 비교 자료를 참고 바랍니다.
- https://www.zabbix.com/documentation/5.0/en/manual/appendix/agent_comparison
17 Agent vs agent 2 comparison
We greatly appreciate your contribution! Our documentation writers will review the example and consider incorporating it into the page. Please note that while we cannot provide a direct response, your input is highly valuable to us in improving our documen
www.zabbix.com
Zabbix 5.0 Agent2 설치
- 설치 방법은 Zabbix 홈페이지 Install 부분 참고 하고 설치 합니다.
- https://www.zabbix.com/download?zabbix=5.0&os_distribution=centos&os_version=7&components=agent_2&db=&ws=
Download and install Zabbix
www.zabbix.com
Install Zabbix repository
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all
Install Zabbix agent2
yum install zabbix-agent2
Zabbix agent2 환경 설정
- 환경 설정 파일을 수정 합니다.
- Server,ListenPort 수정
vi /etc/zabbix/zabbix_agent2.conf
Zabbix agent2 Process Start
systemctl restart zabbix-agent2
systemctl enable zabbix-agent2
systemctl status zabbix-agent2
Zabbix 5.0 Server 설정
- 설치된 Zabbix Agent2 를 등록 하는 방법 및 모니터링 설정 방법은 아래 글을 참고 합니다.
- https://growupcoding.tistory.com/114
[Zabbix] Centos -Zabbix 5.0 Install
CentOS 7.9 환경에서 Zabbix 5.0 설치 방법에 대해 설명 합니다. 환경구성Zabbix Server 설치 (Vmware) ZAbbix Agent 리눅스(Centos 7.9) 데스크탑Zabbix 5.0 Server 설치PostgreSQL 설치 rpm -Uvh https://download.postgres
growupcoding.tistory.com
호스트 정보 입력
- 호스트명 , agent 가 설치된 서버 IP , Agent2 Listenport 작성
테플릿 정보 추가
- Template App Docker 를 추가 합니다.
Docker Data 모니터링 확인
- Zabbix 서버와 Zabbix Agent2 가 정상적으로 연동이 완료 되면 상태 값이 활성화 됩니다.
- 그래프 메뉴를 클릭하고 Oracle Docker 상태를 모니터링 합니다.
대시보드 작성
- 대시보드에 위젯을 추가 하면 보다 부가적인 지표를 추가 모니터링 할수 있습니다.
END
728x90
반응형