Hi,
I am installing Zabbix in a Distributed Environment. Zabbix Proxies are deployed in Active mode on several clusters and all are connected to one cluster which has the Zabbix server.
all types of checks are sent from the Proxy to the server while the checks of Type Zabbix Agent and simple checks are not sent to the Zabbix server and accumulated in the Queue of Zabbix proxy.
Configuration of the server :
/usr/bin/podman run --name zabbix-server \
--net host \
--memory-reservation "2g" \
--cpus "2" \
-v /var/log/zabbix/snmptraps:/var/lib/zabbix/snmptraps \
-v /var/lib/zabbix/mibs:/var/lib/zabbix/mibs \
-v /usr/lib/zabbix/alertscripts/:/usr/lib/zabbix/alertscripts/ \
-v /usr/lib/zabbix/externalscripts:/usr/lib/zabbix/externalscripts \
-v /var/log/zabbix/zabbix-server.log:/var/lib/zabbix/zabbix-server.log \
-v /etc/cbis-snmp/:/etc/cbis-snmp/ \
-v /var/log/zabbix/:/var/log/zabbix/ \
-e ZBX_LOG_TYPE=file \
-e ZBX_LOG_FILE=/var/lib/zabbix/zabbix-server.log \
-e ZBX_LOG_FILE_SIZE=0 \
-e DB_SERVER_HOST=172.31.0.4 \
-e ZBX_DEBUGLEVEL=5 \
-e MYSQL_ROOT_PASSWORD=Z-95e4583a46e3510737531b6fe76c1e46b9a11496ac3bd5 \
-e MYSQL_DATABASE=zabbixdb \
-e MYSQL_USER=zabbix \
-e MYSQL_PASSWORD=sCLSwYZ9jUV3f8uH \
-e ZBX_STARTPOLLERS=20 \
-e ZBX_STARTPOLLERSUNREACHABLE=5 \
-e ZBX_STARTTRAPPERS=32 \
-e ZBX_STARTPINGERS=10 \
-e ZBX_STARTDISCOVERERS=10 \
-e ZBX_STARTALERTERS=3 \
-e ZBX_STARTTIMERS=4 \
-e ZBX_CACHESIZE=1024M \
-e ZBX_TRENDCACHESIZE=256M \
-e ZBX_VALUECACHESIZE=128M \
-e ZBX_STARTPREPROCESSORS=40 \
-e ZBX_ENABLE_SNMP_TRAPS=true \
-e ZBX_TIMEOUT=10 \
-e TZ=Europe/Helsinki \
-p 10051:10051 \
--expose 10051/tcp 172.31.0.4:8787/zabbix-server-mysql:zabbix-centos-5.4-latest
configuration of the proxy:
/usr/bin/podman run \
--conmon-pidfile %t/container-zabbix-proxy-mysql.pid \
--cidfile %t/container-zabbix-proxy-mysql.ctr-id \
--cgroups=no-conmon \
--replace \
--name zabbix-proxy-mysql \
--net host \
-e ZBX_ENABLE_SNMP_TRAPS=true \
-e ZBX_LISTENIP=172.31.9.4 \
-e ZBX_SOURCEIP=172.31.9.4 \
-e MYSQL_USER=zabbix \
-e ZBX_STARTPINGERS=5 \
-e ZBX_STARTDISCOVERERS=5 \
-e ZBX_STARTTRAPPERS=22 \
-e ZBX_STARTTIMERS=4 \
-e ZBX_STARTPREPROCESSORS=30 \
-e ZBX_STARTPOLLERSUNREACHABLE=5 \
-e ZBX_STARTPOLLERS=10 \
-e ZBX_TIMEOUT=30 \
-e MYSQL_DATABASE=zabbixdb \
-e DB_SERVER_HOST=172.31.9.4 \
-e ZBX_SERVER_HOST=172.31.0.4 \
-e ZBX_DEBUGLEVEL=5 \
-e MYSQL_PASSWORD=sCLSwYZ9jUV3f8uH \
-e ZBX_HOSTNAME=honda-civic \
--memory-reservation "2g" \
--cpus "2" \
-d 172.31.0.4:8787/zabbix-proxy-mysql:zabbix-centos-5.4-latest
is there any configuration that needs to be added to the server or the proxy to allow the flow of Zabbix-agent checks and simple checks to the Zabbix server?
does active proxy support both Zabbix agent checks and zabbix Agent (Active) checks ?
thanks,
I am installing Zabbix in a Distributed Environment. Zabbix Proxies are deployed in Active mode on several clusters and all are connected to one cluster which has the Zabbix server.
all types of checks are sent from the Proxy to the server while the checks of Type Zabbix Agent and simple checks are not sent to the Zabbix server and accumulated in the Queue of Zabbix proxy.
Configuration of the server :
/usr/bin/podman run --name zabbix-server \
--net host \
--memory-reservation "2g" \
--cpus "2" \
-v /var/log/zabbix/snmptraps:/var/lib/zabbix/snmptraps \
-v /var/lib/zabbix/mibs:/var/lib/zabbix/mibs \
-v /usr/lib/zabbix/alertscripts/:/usr/lib/zabbix/alertscripts/ \
-v /usr/lib/zabbix/externalscripts:/usr/lib/zabbix/externalscripts \
-v /var/log/zabbix/zabbix-server.log:/var/lib/zabbix/zabbix-server.log \
-v /etc/cbis-snmp/:/etc/cbis-snmp/ \
-v /var/log/zabbix/:/var/log/zabbix/ \
-e ZBX_LOG_TYPE=file \
-e ZBX_LOG_FILE=/var/lib/zabbix/zabbix-server.log \
-e ZBX_LOG_FILE_SIZE=0 \
-e DB_SERVER_HOST=172.31.0.4 \
-e ZBX_DEBUGLEVEL=5 \
-e MYSQL_ROOT_PASSWORD=Z-95e4583a46e3510737531b6fe76c1e46b9a11496ac3bd5 \
-e MYSQL_DATABASE=zabbixdb \
-e MYSQL_USER=zabbix \
-e MYSQL_PASSWORD=sCLSwYZ9jUV3f8uH \
-e ZBX_STARTPOLLERS=20 \
-e ZBX_STARTPOLLERSUNREACHABLE=5 \
-e ZBX_STARTTRAPPERS=32 \
-e ZBX_STARTPINGERS=10 \
-e ZBX_STARTDISCOVERERS=10 \
-e ZBX_STARTALERTERS=3 \
-e ZBX_STARTTIMERS=4 \
-e ZBX_CACHESIZE=1024M \
-e ZBX_TRENDCACHESIZE=256M \
-e ZBX_VALUECACHESIZE=128M \
-e ZBX_STARTPREPROCESSORS=40 \
-e ZBX_ENABLE_SNMP_TRAPS=true \
-e ZBX_TIMEOUT=10 \
-e TZ=Europe/Helsinki \
-p 10051:10051 \
--expose 10051/tcp 172.31.0.4:8787/zabbix-server-mysql:zabbix-centos-5.4-latest
configuration of the proxy:
/usr/bin/podman run \
--conmon-pidfile %t/container-zabbix-proxy-mysql.pid \
--cidfile %t/container-zabbix-proxy-mysql.ctr-id \
--cgroups=no-conmon \
--replace \
--name zabbix-proxy-mysql \
--net host \
-e ZBX_ENABLE_SNMP_TRAPS=true \
-e ZBX_LISTENIP=172.31.9.4 \
-e ZBX_SOURCEIP=172.31.9.4 \
-e MYSQL_USER=zabbix \
-e ZBX_STARTPINGERS=5 \
-e ZBX_STARTDISCOVERERS=5 \
-e ZBX_STARTTRAPPERS=22 \
-e ZBX_STARTTIMERS=4 \
-e ZBX_STARTPREPROCESSORS=30 \
-e ZBX_STARTPOLLERSUNREACHABLE=5 \
-e ZBX_STARTPOLLERS=10 \
-e ZBX_TIMEOUT=30 \
-e MYSQL_DATABASE=zabbixdb \
-e DB_SERVER_HOST=172.31.9.4 \
-e ZBX_SERVER_HOST=172.31.0.4 \
-e ZBX_DEBUGLEVEL=5 \
-e MYSQL_PASSWORD=sCLSwYZ9jUV3f8uH \
-e ZBX_HOSTNAME=honda-civic \
--memory-reservation "2g" \
--cpus "2" \
-d 172.31.0.4:8787/zabbix-proxy-mysql:zabbix-centos-5.4-latest
is there any configuration that needs to be added to the server or the proxy to allow the flow of Zabbix-agent checks and simple checks to the Zabbix server?
does active proxy support both Zabbix agent checks and zabbix Agent (Active) checks ?
thanks,
Comment