{"id":28567033,"url":"https://github.com/altinity/clickhouse-zabbix-template","last_synced_at":"2025-06-10T15:41:01.900Z","repository":{"id":43380161,"uuid":"141119729","full_name":"Altinity/clickhouse-zabbix-template","owner":"Altinity","description":"Zabbix template for ClickHouse","archived":false,"fork":false,"pushed_at":"2022-03-04T08:21:03.000Z","size":3903,"stargazers_count":42,"open_issues_count":0,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-30T10:26:00.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Altinity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-16T09:51:29.000Z","updated_at":"2023-12-06T09:53:17.000Z","dependencies_parsed_at":"2022-09-16T07:13:00.764Z","dependency_job_id":null,"html_url":"https://github.com/Altinity/clickhouse-zabbix-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinity%2Fclickhouse-zabbix-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinity%2Fclickhouse-zabbix-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinity%2Fclickhouse-zabbix-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinity%2Fclickhouse-zabbix-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altinity","download_url":"https://codeload.github.com/Altinity/clickhouse-zabbix-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinity%2Fclickhouse-zabbix-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259104335,"owners_count":22805857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T15:40:28.130Z","updated_at":"2025-06-10T15:41:01.801Z","avatar_url":"https://github.com/Altinity.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zabbix template for ClickHouse\nRequired Zabbix Server version - 3.4+\nFor zabbix 5.0+ please use [official Zabbix ClickHouse integration used http_agent](https://www.zabbix.com/integrations/clickhouse) \n\nHow to set up server with Zabbix agent:\n  * Ensure `xmllint` is installed \n    - for Debian\\Ubuntu `apt-get install -y libxml2-utils`\n    - for CentOS / Fedora `yum install -y libxml2` \n    - for OpenSUSE `yum install -y libxml2-tools` \n  * Ensure `clickhouse-client` is installed and allow access to monitored ClickHouse server\n    - https://clickhouse.tech/docs/en/getting_started/install/\n  * Clone this repo.\n  * Edit `/etc/zabbix/zabbix_agentd.conf`. Add the following line:\n```bash\n\tUserParameter=ch_params[*],bash /PATH/TO/zbx_clickhouse_monitor.sh \"$1\" \"HOST_WHERE_CH_IS_RUNNING\" \"ADDITIONAL CLICKHOUSE-CLIENT PARAMS\"\n```\n  where:\n  * `/PATH/TO/zbx_clickhouse_monitor.sh` depends on where you've cloned this repo.\n  * `HOST_WHERE_CH_IS_RUNNING` is optional parameter, in case none specified `localhost` would be used\n  * `ADDITIONAL CLICKHOUSE-CLIENT PARAMS` is optional string appended to any clickhouse-client call. Useful if authorization or ssl required\n\nAnd finally\n  * Import `zbx_clickhouse_template.xml` in zabbix (**zabbix -\u003e Configuration -\u003e Templates -\u003e Import**).\n\n![image01](img/image01.png)\n![image02](img/image02.png)\n![image03](img/image03.png)\n![image04](img/image04.png)\n![image05](img/image05.png)\n![dashboard](img/dashboard.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinity%2Fclickhouse-zabbix-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltinity%2Fclickhouse-zabbix-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinity%2Fclickhouse-zabbix-template/lists"}