Service Center Operations Manager (SCOM) Webhook

You can configure the Service Center Operations Manager (SCOM) webhook to post notifications to the Events API when events of interest occur.

Before you begin

This integration was validated with Service Center Operations Manager on January 12, 2021.

Before you start to set up your integration, make sure:

  • You have an active SCOM account.

  • You have the necessary permissions to create alerts and notifications channels in SCOM.

  • SCOM can make requests to external endpoints over port 443. This is the default.

  • You have downloaded the Send Alerts to Moogsoft script.

  • You have created an API key and have access to a copy of it.

  • You have copied the Events Endpoint URL from Data Config > Ingestion Services > Events API in Moogsoft.

Edit the Send Alerts to Moogsoft script

To prepare the Send Alerts to Moogsoft Script, do the following.

  1. Download the Send Alerts to Moogsoft script.

  2. Open the script file with Notepad.

  3. Replace $ApiURL with the Events Endpoint URL under Data Config > Ingestion Services > Events API.

    Events_URL.png
  4. Replace $ApiKey with your API key.

  5. Save the script file to C:\Moogsoft.

Set up notifications in SCOM

To set up a new notification in SCOM, do the following:

  1. Log in to SCOM.

  2. Go to the Administration section.

  3. Go to Notifications > Channels.

  4. Click New > Command.

  5. For Channel Name, enter Moogsoft Notification and then click Next.

  6. Enter the following values:

    1. Full path of command file: C:\Windows\System32\windowspowershell\v1.0\powershell.exe

    2. Command line parameters::

      "c:\Moogsoft\sendAlertsToMoogsoft.ps1" '$Data[Default='Not Present']/Context/DataItem/ManagedEntityPath$\$Data[Default='Not Present']/Context/DataItem/ManagedEntityDisplayName$' '$Data/Context/DataItem/AlertName$' '$Data[Default='Not Present']/Context/DataItem/AlertDescription$' '$Data[Default='Not Present']/Context/DataItem/Severity$' '$Data[Default='Not Present']/Context/DataItem/Category$' '$Data[Default='Not Present']/Context/DataItem/LastModifiedLocal$' '$Data[Default='Not Present']/Context/DataItem/AlertId$' '$Data[Default='Not Present']/Context/DataItem/ResolutionStateName$'
    3. Startup folder for the command line: C:\Windows\System32\windowspowershell\v1.0\

  7. Click Finish.

Set up subscriptions in SCOM

To set up a new subscription in SCOM, do the following:

  1. Go to the Administration section.

  2. Click Subscriptions.

  3. Click New.

  4. For Subscription Name, enter Moogsoft Notification and then click Next.

  5. Set Scope based on your business use case and then click Next.

  6. Set Criteria based on your business use case and then click Next.

  7. If applicable, edit Subscribers and then click Next.

  8. In the Channels section, click Add.

  9. Select Moogsoft Notification from the list of available channels.

  10. Click Add.

You have now configured Service Center Operations Manager (SCOM) to notify Moogsoft when new alerts are created.