KB / Memory / project-chmonitor-cli-local-connections
chmonitor CLI local named connections
chm add/ls/use/rm save local ClickHouse HTTP and postgres:// connections; secrets stay in the credentials helper
chm keeps a local named connection store (not dashboard hosts).
chm add <url>(aliasconnect) saves ClickHouse HTTPhttp(s)://[user:pass@]host:8123[/db]orpostgres:///postgresql://chm lslists name, engine (clickhouse|postgres), host, current;--jsonsupportedchm use <name>setscurrent_connectionin userconfig.tomlchm rm <name>removes a saved connection- Secrets go through the credentials helper (keyring /
0600plaintext); never printed inlsor JSON - Live TUI opens against the active local HTTP connection
- Dashboard
chm hostsis unchanged (/api/v1/hosts)
Sources