Pcornel
Automation · Runbook Automation

Verification

Cheat sheet · https://pcornel.dk/topic.php?topic=5553

Back to the Topic

Answer

Verification in runbook automation checks that the runbook achieved its goal, such as the service responding or the alert clearing, before reporting success.

Remember

  • Verification checks the goal was achieved.
  • Examples: service responds, alert clears.
  • Report the outcome.

First checks

  • Verification checks (service up, metric normal) — success
  • Automatic alert resolution check — outcome
  • Failure notification — escalation

Commands

git diff --exit-code <baseline-ref> -- <managed-path>
Read-only/validation observation for the exact managed-path delta relative to an approved Git baseline reference.

Verify in this order

runbook actions → verification → success/escalate

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5553

Confirmation

Confirm action

Continue?