January 2019
Intermediate to advanced
798 pages
20h 33m
English
A solution could be some method that would send us the proxy buffer size, bypassing the buffer itself. Zabbix does not offer such a method, thus we will have to implement it ourselves. Before we do that, let's figure out how we could obtain information on the buffer size. For that, we will delve into the proxy database.
You might have to install the SQLite 3 package to get the sqlite3 utility.
On the proxy host, run the following:
$ sqlite3 /tmp/zabbix_proxy.db
The proxy keeps all of the collected values in a single table, proxy_history. Let's grab the last three collected values:
sqlite> select * from proxy_history order by id desc limit 3;1659|28805|1546002875|0||0|0|0|660348055|0|0|0|01658|28804|1546002874|0||0|1546002874|0|658660672|0|0|0|0 ...
Read now
Unlock full access