-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
If you're integrating with Pagerduty from multiple namespaces, it may be prudent to use a "namespaced" Pagerduty dedup_key (see: https://support.pagerduty.com/docs/event-management#section-deduplicating-incidents).
type: Handler
api_version: core/v2
metadata:
name: pagerduty
spec:
command: >-
sensu-pagerduty-handler
--dedup-key-template "{{.Entity.Namespace}}-{{.Entity.Name}}-{{.Check.Name}}"
--summary-template "{{.Entity.Name}}/{{.Check.Name}}: {{.Check.Output}}"
--status-map "{\"info\":[0],\"warning\": [1],\"critical\": [2],\"error\": [3,127]}"
filters:
- is_incident
- not_silenced
runtime_assets:
- sensu/sensu-pagerduty-handler:2.0.1
secrets:
- name: PAGERDUTY_TOKEN
secret: pagerduty_token
timeout: 0
type: pipeReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed