# 최신 버전은 grafana 와 연동시 문제가 될 수 있습니다. grafana 연동에 필요한 경우 5.0 혹은 5.4 버전 이용이 필요합니다. ( 2022-03-30 기준 )
# Server
base : ubuntu 20.04 with docker
ver : 6.0
출처 : 5 Installation from containers (zabbix.com)
docker network create --subnet 172.20.0.0/16 --ip-range 172.20.240.0/20 zabbix-net
docker run --name mysql-server -t \
-e MYSQL_DATABASE="zabbix" \
-e MYSQL_USER="user" \
-e MYSQL_PASSWORD="password" \
-e MYSQL_ROOT_PASSWORD="root password" \
--network=zabbix-net \
-d mysql:8.0 \
--character-set-server=utf8 --collation-server=utf8_bin \
--default-authentication-plugin=mysql_native_password
docker run --name zabbix-java-gateway -t \
--network=zabbix-net \
--restart unless-stopped \
-d zabbix/zabbix-java-gateway:6.0-ubuntu-latest
docker run --name zabbix-server-mysql -t \
-e DB_SERVER_HOST="mysql-server" \
-e MYSQL_DATABASE="zabbix" \
-e MYSQL_USER="user" \
-e MYSQL_PASSWORD="password" \
-e MYSQL_ROOT_PASSWORD="root password" \
-e ZBX_JAVAGATEWAY="zabbix-java-gateway" \
--network=zabbix-net \
-p 10051:10051 \
--restart unless-stopped \
-d zabbix/zabbix-server-mysql:6.0-ubuntu-latest
docker run --name zabbix-web-nginx-mysql -t \
-e ZBX_SERVER_HOST="zabbix-server-mysql" \
-e DB_SERVER_HOST="mysql-server" \
-e MYSQL_DATABASE="zabbix" \
-e MYSQL_USER="user" \
-e MYSQL_PASSWORD="password" \
-e MYSQL_ROOT_PASSWORD="root password" \
--network=zabbix-net \
-p 25080:8080 \
--restart unless-stopped \
-d zabbix/zabbix-web-nginx-mysql:6.0-ubuntu-latest
# docker 설치 후 사용시 CacheSize 문제가 발생하는 경우가 있어 zbbix-server.conf 파일을 편집을 위해 바인딩
증상 : docker container 가 계속 재시작됨.
/etc/zabbix/zabbix_server.conf 파일 편집하여 아래 볼드 처리된 텍스트의 값을 찾아서 사이즈 변경
log를 확인하면 아래와 같은 구문을 확인 가능 ( please increase CacheSize configuration parameter )
* CacheSize 이외 다른 내용이 있을 수도 있음.
[file:dbconfig.c,line:102] __zbx_mem_malloc(): out of memory (requested 72 bytes)
[file:dbconfig.c,line:102] __zbx_mem_malloc(): please increase CacheSize configuration parameter
docker run --name zabbix-server-mysql -t \ -e DB_SERVER_HOST="mysql-server" \ -e MYSQL_DATABASE="zabbix" \ -e MYSQL_USER="user" \ -e MYSQL_PASSWORD="password" \ -e MYSQL_ROOT_PASSWORD="root password" \ -e ZBX_JAVAGATEWAY="zabbix-java-gateway" \ --mount type=bind,source=/etc/zabbix/zabbix_server.conf,target=/data/zabbix-server/conf/zabbix_server.conf \ --network=zabbix-net \ -p 10051:10051 \ --restart unless-stopped \ -d zabbix/zabbix-server-mysql:6.0-ubuntu-latest
# Templates
1.1 Synology - (SNMP v3)
Synology monitoring and integration with Zabbix
Synology monitoring and integration with Zabbix
Link Source Compatibility Type, Technology Created Updated Rating Zshare Synology Cluster Template is based on Synology MIB Guide and monitor only an Synology HA ClusterIs based on snmp v2 data from section Synology SHA MIBInstallation notesDon´t forget t
www.zabbix.com
1.2 Windows Hyper-V
Hyper-V monitoring and integration with Zabbix
Hyper-V monitoring and integration with Zabbix
Link Source Compatibility Type, Technology Created Updated Rating Zabbix Agent Templates for Hyper-V monitoring Simple Hyper-V Guest and Host templates. Compatible with Zabbix Server 3.0 github.com/ameiji/Zabbix-HyperV-Templates PowerShell script for Zabbi
www.zabbix.com
1.3 Windows Server
Windows monitoring and integration with Zabbix
Windows monitoring and integration with Zabbix
This template is for Zabbix version: 6.0 Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/windows_agent?at=release/6.0 Windows by Zabbix agent Overview For Zabbix version: 6.0 and higher New official Windows template. Requires a
www.zabbix.com
1.4 commnunity-templates
GitHub - zabbix/community-templates: Zabbix Community Templates repository
GitHub - zabbix/community-templates: Zabbix Community Templates repository
Zabbix Community Templates repository. Contribute to zabbix/community-templates development by creating an account on GitHub.
github.com
'Server > Linux' 카테고리의 다른 글
FreeTDS 로 MSSQL 2008 (구버전 SQL) 연결시 Error 0002 (severity 9): Adaptive Server connection failed (1) | 2024.11.08 |
---|---|
docker 완전 삭제 (0) | 2022.09.23 |
[ubuntu] 파일 삭제 후 복구 (0) | 2022.09.20 |
ubuntu 20.04 mssql odbc driver installation (0) | 2022.03.28 |
AttributeError: module 'lib' has no attribute 'X509_get_notAfter' (0) | 2022.02.23 |