Skip to content

ezgh obs contact-points test

Send a test notification to a contact point.

Updated View as Markdown
ezgh obs contact-points test <contact-point> [--wait] [flags]

Send a test notification to a contact point, through the same delivery path as alerts (with a sample firing alert, alertname EZGHTest). It’s queued at once, and its attempts appear in the contact point’s delivery log. --wait waits up to 70 seconds for the result: ok, or failed with the HTTP status or error (exit 1). An email contact point only sends to confirmed addresses.

Part of ezgh obs contact-points.

Examples

ezgh obs contact-points test "Platform on-call" --wait

Flags

Flag Type Default Description
--wait boolean wait up to 70 seconds for the delivery’s result

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close