Zabbix template for ClickHouse
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
LICENSE
README.md
zbx_clickhouse_monitor.sh
zbx_clickhouse_template.xml

README.md

Zabbix template for ClickHouse

How to set up server with Zabbix agent:

  • Ensure xmllint is installed.
  • Ensure clickhouse-client is installed.
  • Clone this repo.
  • Edit /etc/zabbix/zabbix_agentd.conf. Add the following line:
	UserParameter=ch_params[*],sh /PATH/TO/zbx_clickhouse_monitor.sh "$1" "HOST_WHERE_CH_IS_RUNNING"

where:

  • /PATH/TO/zbx_clickhouse_monitor.sh depends on where you've cloned this repo.
  • HOST_WHERE_CH_IS_RUNNING is optional parameter, in case none specified localhost would be used

And finally

  • Import zbx_clickhouse_template.xml in zabbix (zabbix -> Configuration -> Templates -> Import).

image01 image02 image03 image04 image05 image06 image07 image08 image09 image10 image11