Configuring Microsoft System Center Operations Manager as an event source
System Center Operations Manager (SCOM) is a cross-platform data center monitoring system for operating systems and hypervisors. You can set up an integration with Netcool® Operations Insight® to receive notifications created by SCOM.
About this task
Download the integration package from event management and import the scripts into your SCOM server. Sample commands are provided for Windows operating systems. Copy the notification script scom-cem.ps1
to any accessible directory on your SCOM server. A channel, a
subscriber, and a subscription are required in SCOM to use the scom-cem.ps1
script
to forward notifications to event management.
The default resource type is Server
. Database
, Application
, and
Service
are also supported.
Procedure
What to do next
Complete the following steps to create a tmp directory and log files
on the SCOM server:
- By default, the powershell script writes the log to C:\tmp\postResultCEM.text.
- Create the C:\tmp directory. If you want to set a different directory,
change the following line in
scom-cem.ps1
:## Temp directory to capture the raw event $tmpdir = "C:\tmp"
- Create the C:\tmp\postResultCEM.txt file. If you want to set a different
file, change the following line in
scom-cem.ps1
:$postFile = "$tmpdir\postResultCEM.txt"
- Add read and execute permission for directory and file that you created in steps 2 and 3.
- If you want to disable logs, make the following changes in
scom-cem.ps1
:## Comment out the following two lines: #$postFile = "$tmpdir\postResultCEM.txt" #Add-content $postFile -value $json ## Change the following line as shown: Invoke-RestMethod -Verbose -Method Post -ContentType "application/json" -Body $json -Uri $Url