canasta wiki-check

From canasta

canasta > wiki-check

canasta wiki-check

Check that configured wikis are accessible

Synopsis

Read the instance's configured wikis from config/wikis.yaml and check that each one is serving MediaWiki. Each wiki's MediaWiki API is queried from the instance's host; a wiki whose read API is private still counts as reachable, because the denial proves MediaWiki answered. A container can be up while MediaWiki returns errors, so this reports what a reader sees rather than whether the workload is running. Exits non-zero if any wiki fails. canasta list --check-wikis runs the same probe across every instance.

canasta wiki-check [flags]

Examples

canasta wiki-check -i mysite
canasta wiki-check --host prod1.example.com -i mysite

Flags

Flag Shorthand Description Default Required Orchestrator
--host -H Target host (default: localhost) Both
--id -i Canasta instance ID — check the host where this instance is registered. Mutually exclusive with --host; --host wins if both are given. * Both

* Defaults to the Canasta instance matching the current directory, if any.

Global flags

Flag Shorthand Description Default Required Orchestrator
--help -h Show help message and exit Both
--verbose -v Enable verbose output Both