Forum Discussion
Gupta_pd
Sep 19, 2022Copper Contributor
SCOM 2012 -pagerduty intergration
Hi All, Using https://github.com/PagerDuty/scom-powershell-integration to integrate Pagerduty with SCOM 2012 .
Once changes are made in script and setup ( FUll path, Command LIne parameters and Start up path ) are filled, how to get the script executed automatically from Command LIne parameters ?
Whole idea is as and when Alerts are generated in SCOM , it should send a JSON payload to Pagerduty.Any leads or insights ?
Also Are there any POST webhooks available for 2012 version.I want to do kinda "Send Event " via POST method to an external URL as email is not preferred way.
- Gupta_pdCopper Contributor
@all
Can someone please help me .Need to circle back with customer asap.
- Yannick__Copper Contributor
Hi, the easiest way to get your PagerDuty Integration triggered without any external system is to use a SCOM Notification Channel of type "command". This way you can define in a notification subscription the alerts you like to forward using the command channel, data can be passed from the alert to your script. More advanced and complex automation scenarios can be achieved using System Center Orchestrator or Azure Automation. Read more about Command Notification Channel here https://learn.microsoft.com/en-us/system-center/scom/manage-notifications-create-command-channel?view=sc-om-2022