diff --git a/src/ScadaLink.CLI/README.md b/src/ScadaLink.CLI/README.md index d22b2a8..f05509c 100644 --- a/src/ScadaLink.CLI/README.md +++ b/src/ScadaLink.CLI/README.md @@ -28,6 +28,12 @@ For a two-node HA cluster, supply both nodes comma-separated: scadalink --contact-points akka.tcp://scadalink@node1:8081,akka.tcp://scadalink@node2:8082 ``` +**Docker (OrbStack):** When running against Docker containers, the contact point hostname must match the central container's Akka `NodeHostname` config. With OrbStack, add `/etc/hosts` entries mapping the container names to their IPs (see `docker/README.md`). Example: + +```sh +scadalink --contact-points akka.tcp://scadalink@scadalink-central-a:8081 +``` + ## Global Options These options are accepted by the root command and inherited by all subcommands. @@ -1025,6 +1031,24 @@ scadalink --contact-points health parked-messages --site-identifier debug snapshot --id +``` + +| Option | Required | Description | +|--------|----------|-------------| +| `--id` | yes | Instance ID | + +The command resolves the instance's site internally and routes the request to the correct site cluster. Returns all attribute values (name, value, quality, timestamp) and alarm states (name, state, priority, timestamp) at the moment the request reaches the site. + +--- + ### `audit-log` — Audit log queries #### `audit-log query`