OpsgenieCreateAlertOperator¶
Use the OpsgenieCreateAlertOperator
to send an alert to opsgenie.
Using the Operator¶
Send an alert to Opsgenie with a specific message.
opsgenie_alert_operator = OpsgenieCreateAlertOperator(task_id="opsgenie_task", message="Hello World!")
OpsgenieCloseAlertOperator¶
Use the OpsgenieCloseAlertOperator
to close alert in opsgenie.
Using the Operator¶
Close alert in Opsgenie.
opsgenie_close_alert_operator = OpsgenieCloseAlertOperator(
task_id="opsgenie_close_task", identifier="identifier_example"
)
OpsgenieDeleteAlertOperator¶
Use the OpsgenieDeleteAlertOperator
to delete alert in opsgenie.
Using the Operator¶
Delete alert in Opsgenie.
opsgenie_delete_alert_operator = OpsgenieDeleteAlertOperator(
task_id="opsgenie_delete_task", identifier="identifier_example"
)