https://github.com/pagerduty/scom-powershell-integration
https://github.com/pagerduty/scom-powershell-integration
in-scope type-service
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pagerduty/scom-powershell-integration
- Owner: PagerDuty
- Created: 2019-06-24T18:25:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T14:29:16.000Z (about 4 years ago)
- Last Synced: 2025-01-20T18:30:34.167Z (4 months ago)
- Topics: in-scope, type-service
- Language: PowerShell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SCOM
## Description
This integration uses the powershell command line function within Microsoft System Center Operations Manager to send alerts to PagerDuty.## Setup
In the Operations Console, head to Administration and create a new Command Notification Channel. When prompted for the following Settings information in the Command Notification Channel, provide the following values:Full Path of the Command File: C:\windows\system32\windowspowershell\v1.0\powershell.exe
Command Line Parameters: -F "C:\scripts\pagerduty\pagerduty.ps1" -AlertID "$Data[Default='NotPresent']/Context/DataItem/AlertId$"
Startup Folder for the Command Line: C:\windows\system32\windowspowershell\v1.0\#### Note
The Command Line Parameters assume that you have downloaded the powershell script pagerduty.ps1 and have it available in the C:\scripts\pagerduty\ directory.To obtain an "Integration Key" to be passed into the Command Line Parameter, go into your PagerDuty Account > Configuration > Services and select the service you want to send alerts to. Create the integration "Microsoft SCOM" and you'll be provided an "Integration Key".
This integration uses the Operations Manager Module to obtain Alert information. Please identify the proper the path to the Operations Manager in your SCOM environment and provide that path in Line 8 of the Powershell script.