Skip to content

stratumctl advisor

Resources that cannot do their job (findings) and the checks that find them

Terminal window
stratumctl advisor [flags]

List the advisor’s checks: what each looks for, why it matters, the fix

Terminal window
stratumctl advisor checks [flags]
Terminal window
stratumctl advisor checks
stratumctl advisor checks --output json

List a project’s advisor findings (open by default)

Terminal window
stratumctl advisor findings [flags]

Lists the project’s findings: resources that exist but cannot do their job, such as a load balancer with no listeners or a listener forwarding to a target group that does not exist. A finding is open while its condition holds and is resolved on the first advisor pass (every 5 minutes) after it stops. ‘stratumctl advisor checks’ explains each check and its fix.

Terminal window
stratumctl advisor findings
stratumctl advisor findings --service lb --severity high
stratumctl advisor findings --state all --output json
Flag Type Default Description
--limit int 0 Page size (server default 100, max 1000); setting it (or –page-token) returns one page
--page-token string Cursor from a previous page; returns that one page
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)
--resource-type string Only this kind of resource (e.g. listener)
--service string Only this service’s checks (e.g. lb)
--severity string low, medium or high
--state string open (default), resolved or all