Skip to main content
For general information about alerting, see our docs on the Opsgenie integration and alerting with Checkly.
Sends an alert notification to your Opsgenie account.
If you need to reference existing alert channels that were created outside of your CLI project, use fromId().

Configuration

Opsgenie Alert Channel Options

string
required
Friendly name to recognise the integration.
string
required
A string representing the Opsgenie location, either EU or US.
string
required
A string representing the severity level, P1 to P5.
string
required
An API key for your Opsgenie account.

General Alert Channel Options

These options are valid for all alert channels types.
boolean
Whether to send notifications when checks recover from a failed or degraded state. Default value is true.
boolean
Whether to send notifications when checks fail. Default value is true.
boolean
Whether to send notifications when checks become degraded. Default value is false.
boolean
Whether to send notifications when a SSL/TLS certificate is about to expire. Default value is false.
Learn more about SSL alerts.
number
Number of days before the SSL/TLS certificate expiry date to send notifications. Only relevant when sslExpiry is enabled. Default value is 30.
Learn more about SSL alerts.