ClickHouse
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units clickhouse-server or binaries clickhouse-server, clickhouse |
| Read every | 2 minutes while the Monitor window shows the tab |
| Active probe | yes, off by default |
| Test config | none |
What the card reads and shows
Section titled “What the card reads and shows”ClickHouse.
Passive: the server processes (no argv), config.xml and config.d/*.xml filtered by xml.awk to a closed list (ports, listen hosts, data paths, disk names with type and path, cluster names with replica hosts and ports, ZooKeeper/Keeper hosts); never users.xml/users.d, preprocessed_configs/, S3 keys, encryption keys, <secret>, interserver_http_credentials, identity, named_collections, ldap_servers. Listeners.
Active (off by default): HTTP GETs of fixed SELECTs (a GET is read-only on its own: the server sets readonly=2, so the URL must not set readonly, error 164) with max_execution_time, log_comment=kryodesk to the verified listener as the default user without a password; an authentication error stops the probe. Never clickhouse-client (it reads ~/.clickhouse-client/config.xml with a password).
Active probe
Section titled “Active probe”Runs: HTTP GETs on the loopback http_port (from config.xml, verified to belong to clickhouse-server) as default without a password: version and uptime, replica counts (read-only, max delay, queue), unfinished mutations, disk space; GET is read-only, max_execution_time=5; an authentication error stops the probe
Traces on the host: each query is one row in system.query_log (log_comment = kryodesk), every 2 minutes; when default has a password, a failed login in the server log (and system.session_log, if enabled) instead
Test config
Section titled “Test config”None: KryoDesk has no configuration test for this service.