Notification Targets
What are Notification Targets?
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.
Using Notification Targets
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).
Types:
Emails
Email Notification Targets contain a list of email address destinations for notifications.
Slack
Slack Notification Targets contain a single Slack Hook URL destination for notifications.
Webhook
Webhook Notification Targets contain a single generic webhook URL destination for notifications.
PagerDuty
PagerDuty Notification Targets contain a single routing key used to send notifications to a specific PagerDuty service.
Manage Notification Targets Using Spyctl
To start creating Targets follow our tutorial using spyctl :: Manage Notification Targets Using Spyctl
Quick Start Tutorial
If you already have Targets set, start configuring Spyderbat Notifications using spyctl.
Last updated
Was this helpful?