Skip to main content

Microsoft SCOM (Service Center Operations Manager) integration

This integration ingests notifications from Microsoft Service Center Operations Manager (SCOM) and maps them to Moogsoft Cloud events automatically.

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.

    NOTE: Right-click the link and select "Save Link As" from the menu to download the file. Save the file as sendAlertsToMoogsoft.ps1.

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

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

Create a new integration in Moogsoft

  1. Log in to your Moogsoft instance.

  2. Choose Integrations > Ingestion Services > Microsoft SCOM.

  3. Click Add New Integration.

  4. Define the Moogsoft Endpoint and API Description based on your business needs. Then click Save.

  5. The UI displays the integration in a new page. Click Save at the bottom at the bottom of the page.

The new integration includes a custom endpoint, a set of default mappings to convert Microsoft SCOM data to Moogsoft events, and a deduplication key to group similar events into alerts. You can now set up Microsoft SCOM to send data to this endpoint, as described in the following section.

(Optional) Once your endpoint starts receiving data from Microsoft SCOM, you can customize how the integration maps and deduplicates this data. To learn more about mapping and deduplication, read Use mapping types in custom integrations and Deduplicate events to reduce noise.

Edit the Send Alerts to Moogsoft script

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

  1. Using a text editor (like Notepad), open the sendAlertsToMoogsoft.ps1 script file you downloaded (see previous section for download information).

  2. Replace $ApiURL with the Endpoint URL located under Integrations > Ingestion Services > Microsoft SCOM> <your-integration-name>.

  3. Replace $ApiKey with your API key.

  4. 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. Under the Subscribers section, click Add and add at least one subscriber to the subscription (required). 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.