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
0
votes
1 answer

PagerDuty how to use query parameter in list services?

I am sending a request like below: curl --request GET \ --url 'https://api.pagerduty.com/services?query=my-service-name' \ --header 'Accept: application/vnd.pagerduty+json;version=2' \ --header 'Authorization: Token token=y_NbAkKc66ryYTWUXYEu'…
0
votes
2 answers

how to regenerate pagerduty integration key programmatically

I have integrated Jenkins CI with pagerduty. Once I do that, I can see intergration key generated. That will be used in jenkins to send the events to pagerduty. The requirement is to rotate the keys after some time. I want to automate this. Is…
Adya
  • 58
  • 5
0
votes
1 answer

Camunda incident integration with Pagerduty

Is there a way that we can integrate Camunda BPMN workflows with Pagerduty. I would want all the incidents to be integrated with Pagerduty. Any references?
Klose
  • 323
  • 5
  • 17
0
votes
1 answer

Post JSON object via Powershell

I intend to have below output when I run Powershell script { "maintenance_window": { "type": "maintenance_window", "start_time": "2021-05-28T16:11:34.139Z", "end_time": "2021-05-28T16:26:34.139Z", "description": "Maintenance Window…
sblive
  • 105
  • 9
0
votes
1 answer

AWS Lambda function from MS Teams

Is there a way we can trigger AWS Lambda function from MS Teams? I need a notification from the Microsoft Teams channel to flip to Pager Duty. Will he be able to grasp it through AWS Lamdba? On Teams I have all notifications about events from Gitlab…
caprio
  • 197
  • 1
  • 3
  • 10
0
votes
0 answers

Adding individual Terraform arguments for each element in a list

I'm using the pagerduty_ruleset_rule resource in combination with count to create multiple PagerDuty rules. Each rule is devised from a count.index of the services list of maps. Variable definition - services list of maps (passed in as a…
bwalsh434
  • 17
  • 3
0
votes
1 answer

How do I move a service between teams?

I have setup two teams in pagerduty (that have their own escalation policy and roster). One team owns a service, but the ownership is changing within our organisation and the other team is now to be oncall for the service. I can't find anything in…
0
votes
2 answers

How to create a schedule in pagerduty using restApi and python

When through the documentation of pagerduty was but still not able to understand what parameters to send in the request body and also facing trouble in understanding how to make the api request.If any one can share the sample code on making a…
0
votes
1 answer

How exactly Nagios server communicates with remote nodes i.e which protocol does it use in agent and agentless settings?

I installed Nagios Core and NCPA on a Mac. Implemented a few checks via custom plugins to understand how to use it. I am trying to understand the following: Protocol that Nagios server actually use to communicate with NCPA agent and how exactly…
Gaurav
  • 45
  • 1
  • 5
0
votes
2 answers

How can I paginate Pagerduty REST API results when requesting incident lists?

I'm building an application which pulls down incident listings for my org via Pagerduty's REST API. The GET /incidents endpoint does respond with more, offset, and other keys that are indicative of pagination being supported, and it does make…
verandaguy
  • 210
  • 2
  • 7
0
votes
1 answer

Access Values of JSON Multi Dimensional Array in PHP

I have attempted to parse the below ($var) using both $convert = json_encode($var); $object = (object)json_decode($convert); $array = json_decode($convert, TRUE); but appear to be unable to access values (typically seeing nothing/null), through…
user4807122
0
votes
1 answer

I want to create a user in Pagerduty using Node js. But I am not able to do. Can someone help me in this?

I am new to Node js. Below code I have written.It does not show any output. const pdClient = require('node-pagerduty'); const pdApiKey = 'XXXXXXXXXXXXXX'; const pd = new pdClient(pdApiKey); let from = 'XXXXXXXXXX@XXX.com'; let payload = { user:…
0
votes
1 answer

I need my module to return either a list of items if input is a non-empty list or an empty list

My module takes a possibly-empty-list as input, and if that list is non-empty, creates some resources and returns a specific attribute that I need outside of the module, like so: variable contexts { type = "list" } resource "pagerduty_service"…
Paddie
  • 611
  • 1
  • 8
  • 15
0
votes
1 answer

Connect to events.pagerduty.com:443 connect timed out

Jenkins 2.82 Jenkins master - From this machine, I don't have access to internet/outside world. Jenkins slave server, running docker containers (for slave server), do have access to outside world/internet. I installed PagerDuty Plugin and configured…
AKS
  • 16,482
  • 43
  • 166
  • 258
-1
votes
0 answers

How to build PagerDuty Terraform Provider locally without access to git clone

Github is blocked for us, so I have downloaded the PagerDuty provider from here: https://github.com/PagerDuty/terraform-provider-pagerduty/archive/refs/heads/master.zip I trust this is the right place. Given the restriction, I need to be able to use…