Questions tagged [pagerduty]

Questions relating to PagerDuty, an online platform for digital operations and on-call management, in particular questions about the API and other programmatic means of managing configuration.

PagerDuty is an online platform for managing digital operations and on-call schedules, ideally used to alert users when something critically requires human intervention.

General API concepts Full REST API reference

62 questions
9
votes
5 answers

Publish AWS SNS message to Pagerduty

I have integrated pagerduty with AWS cloudwatch and I am trying to publish a message manually to a SNS Topic that is subscribed by pagerduty and email. But I am not able to get incidents in pagerduty. However, cloudwatch alarms are triggering…
Sujai Sivasamy
  • 1,101
  • 3
  • 14
  • 32
5
votes
1 answer

Complex rules/filters for Prometheus-Alertmanager Alerts

Situation: I have Prometheus and Alertmanager setup to monitor, among other things, CPU temp of various devices. Alertmanager sends alerts from production devices to PagerDuty. The devices I'm monitoring have different models with different…
4
votes
1 answer

What's the difference between "user" and "user_reference" in PagerDuty API

I'm writing a terraform template to setup escalation policies. https://www.terraform.io/docs/providers/pagerduty/r/escalation_policy.html I want to create an escalation policy to a specific user, but I don't know whether to specify user or…
Yusuke NOJIMA
  • 255
  • 1
  • 7
3
votes
1 answer

Is there a way to configure a DataDog monitor that has to be manually resolved?

We have a number of Datadog monitors which work wonderfully for identifying key issues in the system. We also have them integrated to PagerDuty, for alerting our teams and organizing responses. This all works great, but the problem we're running…
Marisa
  • 732
  • 6
  • 22
2
votes
2 answers

Translate curl command to python requests.get

I have the following curl command which I can use to retrieve a list of users from a specific group in PagerDuty: curl -H "Accept: application/vnd.pagerduty+json;version=2" -H "Authorization: Token token=xxx" -X GET --data-urlencode "team_ids[]=abc"…
Gary Turner
  • 189
  • 9
2
votes
2 answers

Python - Fetching data from API

I have the below code that fetches data from a API. This works fine, however I see that it only returns back 25 rows. I am trying to see how could I extract all of the data from the API call and not limit to 25 import requests import pandas as…
scott martin
  • 1,253
  • 1
  • 14
  • 36
2
votes
1 answer

convert curl get to rest api to python

I have this curl command: curl -X GET --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Authorization: Token token=y_NbAkKc66ryYTWUXYEu' 'https://api.pagerduty.com/services?time_zone=UTC&sort_by=name' I need to convert it to…
Salem Masoud
  • 411
  • 11
  • 32
2
votes
1 answer

How to configure PagerDuty alerts in Splunk Cloud?

I've run into a few different issues with the PagerDuty integration in Splunk Cloud. The documentation on PagerDuty's site is either outdated, not applicable to Splunk Cloud or else there's something wrong with the way my Splunk Cloud account is…
2
votes
2 answers

Is there an AWS / Pagerduty service that will alert me if it's NOT notified

We've got a little java scheduler running on AWS ECS. It's doing what cron used to do on our old monolith. it fires up (fargate) tasks in docker containers. We've got a task that runs every hour and it's quite important to us. I want to know if it…
Aidan Ewen
  • 13,049
  • 8
  • 63
  • 88
2
votes
1 answer

Sensu: best practices to only handle a check after n occurences

I've recently upgraded from Sensu 0.24 to 1.2 and noticed that checks where triggered immediately to the referenced handlers. On the old checks (with v0.24), checks had an "occurences" attribute to filter out noise. I only want checks to be handled…
Tim Brandes
  • 2,103
  • 15
  • 14
1
vote
1 answer

PagerDuty Export All Historical Incidents

Does anyone have a way to export all historical incidents from PagerDuty? I can't seem to make it work by using any of the options in here: https://developer.pagerduty.com/api-reference/9d0b4b12e36f9-list-incidents So I've been trying to do it in…
Gary Turner
  • 189
  • 9
1
vote
1 answer

pagerduty allow time to self resolve before alerting

Is there an easy way to setup pagerduty to hold alerts to allow time for the cloud to self resolve? my team often gets woken up for alerts that self resolve before we have a chance to address it. If Pagerduty could hold the alert for 5 minutes we…
eiu165
  • 6,101
  • 10
  • 41
  • 59
1
vote
0 answers

Is it possible to manage service dependencies through an API or Terraform?

Can the service dependencies on PagerDuty be managed through an API or Terraform? Does PagerDuty have a standard Terraform service provider for this purpose?
codeforester
  • 39,467
  • 16
  • 112
  • 140
1
vote
1 answer

Can two Pagerduty services use the same email address?

I am setting up technical services in Pagerduty for a team and want all of them to use the same email integration, specifically, the same email address. I see that I am allowed to associate the same email address to multiple technical services. Is…
codeforester
  • 39,467
  • 16
  • 112
  • 140
1
vote
1 answer

Terraform Error: Failed to query available provider packages, pagerduty provider

I'm on TF version v1.0.0(latest) and am trying to make use of the pagerduty Tf provider and the error log says could not retrieve teh list of available versions. Below is the code snippet and complete error log. Code: terraform { …
user8211795
  • 37
  • 1
  • 7
1
2 3 4 5