Notification Targets are named destinations where notifications can be sent.
You create Notification Targets to receive notifications via email, Slack, AWS SNS, and webhook. You specify which Notification Targets to use when creating Notification Configurations.
Notification Targets can be referenced while configuring notifications for Notifiable Objects using Spyctl. You can either specify a Notification Target or a Notification Template that map specific targets to templates like below.
Example usage with Spyctl:
Example:
Usage:
The $spyctl notifications configure
command allows notifications to be sent using either Custom templates with Targets or directly via Targets (using Default Template).
Email Notification Targets contain a list of email address destinations for notifications.
Slack Notification Targets contain a single Slack Hook URL destination for notifications.
Webhook Notification Targets contain a single generic webhook URL destination for notifications.
PagerDuty Notification Targets contain a single routing key used to send notifications to a specific PagerDuty service.
To start creating Targets follow our tutorial using spyctl :: Manage Notification Targets Using Spyctl
If you already have Targets set, start configuring Spyderbat Notifications using spyctl.