Zabbix Proxy: Difference between revisions
From DWIKI
m (→FAQ) |
mNo edit summary |
||
Line 2: | Line 2: | ||
*[https://www.zabbix.com/documentation/current/en/manual/distributed_monitoring/proxies Zabbix proxies] | *[https://www.zabbix.com/documentation/current/en/manual/distributed_monitoring/proxies Zabbix proxies] | ||
*[https://www.zabbix.com/documentation/current/en/manual/encryption/using_pre_shared_keys Using pre-shared keyss] | *[https://www.zabbix.com/documentation/current/en/manual/encryption/using_pre_shared_keys Using pre-shared keyss] | ||
=HOWTO= | |||
==Building zabbix-proxy on ubuntu== | |||
On Ubuntu-22.04 i had: | |||
./configure --enable-agent --enable-proxy --with-sqlite3 --with-openipmi --with-net-snmp --with-gnutls --with-libcurl | |||
requiring: | |||
apt-get install gcc make libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev libsnmp-dev libopenipmi-dev libgnutls28-dev libcurl4-gnutls-dev | |||
=FAQ= | =FAQ= | ||
==cannot send list of active checks== | ==cannot send list of active checks== |
Revision as of 12:56, 21 February 2024
Documentation
HOWTO
Building zabbix-proxy on ubuntu
On Ubuntu-22.04 i had:
./configure --enable-agent --enable-proxy --with-sqlite3 --with-openipmi --with-net-snmp --with-gnutls --with-libcurl
requiring:
apt-get install gcc make libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev libsnmp-dev libopenipmi-dev libgnutls28-dev libcurl4-gnutls-dev
FAQ
cannot send list of active checks
See Zabbix#cannot_send_list_of_active_checks
cannot accept connection from proxy
If you see this in server log, check:
Administration->Proxies->Your proxy->Proxy addresses
Nodata and proxy
Zabbix proxy poller processes more than 75% busy
A passive proxy went away?
Zabbix unreachable poller processes more than 75% busy
??
cannot send heartbeat message
Proxy wrong version?
Zabbix poller processes more than 75% busy
Zabbix does not support SQLite3 database upgrade.
Stop the proxy and (re)move the .db file
[Z3002] cannot create database 'zabbix_proxy': [0] unable to open database file
fix DBName
cannot initialize database: cannot open database
Probably fresh install, in case of sqlite: In proxy config:
DBName=/var/lib/zabbix/zabbix_proxy
and restart zabbix-proxy
Cannot parse heartbeat from active proxy
TBD, probably name issue
Troubleshoot high queue on proxy
TLS read fatal alert "unknown PSK identity"
Could mean you forgot
TLSAccept=psk
in proxy config
poller data processes
StartPollers
cannot obtain data from proxy "proxybox": ZBX_TCP_READ() failed: [104] Connection reset by peer
Could be a proxy configured passive, and it's unreachable
force "sending configuration data to proxy"
zabbix_proxy -R config_cache_reload