OK
Size: a a a
OK
AP
AP
ДУ
AP
o
AK
S
<trigger>
<expression>{Clickhouse:ch_params[Uptime].nodata(3m)}</expression>
<name>{HOST.HOST} clickhouse-server monitoring have no data, possible clickhouse-server is down, check `systemd status clickhouse-server` and check zbx_clickhouse_monitor.sh and `systemd status zabbix-agent`</name>
<url/>
<priority>4</priority>
<type>0</type>
</trigger>
zabbix_get -s zabbix-agent -k "ch_params[Uptime]"
AK
<trigger>
<expression>{Clickhouse:ch_params[Uptime].nodata(3m)}</expression>
<name>{HOST.HOST} clickhouse-server monitoring have no data, possible clickhouse-server is down, check `systemd status clickhouse-server` and check zbx_clickhouse_monitor.sh and `systemd status zabbix-agent`</name>
<url/>
<priority>4</priority>
<type>0</type>
</trigger>
zabbix_get -s zabbix-agent -k "ch_params[Uptime]"
AK
S
AK
OK
S
AK
S
cat /etc/zabbix/zabbix_agentd.d/zbx_clickhouse_agent.conf
UserParameter=ch_params[*],bash /etc/zabbix/scripts/zbx_clickhouse_monitor.sh "$1" "${CLICKHOUSE_SERVER}" "--user default --connect_timeout 5 --receive_timeout 5"
AK
cat /etc/zabbix/zabbix_agentd.d/zbx_clickhouse_agent.conf
UserParameter=ch_params[*],bash /etc/zabbix/scripts/zbx_clickhouse_monitor.sh "$1" "${CLICKHOUSE_SERVER}" "--user default --connect_timeout 5 --receive_timeout 5"
S
AK
AK