Hi, I am Mark Manty Microsoft Premier Field Engineer for SCOM.
Today I wanted to touch on Orchestrator and the SCOM 2007 R2 Integration pack.
With the new version of SCOM 2012 on the horizon you may have already begun planning your migration. The Universal connector will not be supported in SCOM 2012. The recommendation for replacing this functionality is Orchestrator.
Here is an example of how you can utilize Orchestrator with the SCOM integration pack to update alerts.
Launch System Center Orchestrator Runbook Designer.
Expand Runbooks folder in Connections view and Right click to create new folder.
Enter a name for the folder.
Expand Activities – Operations Manager 2007 R2 and drag over Get Alert and Update Alert.
Select Get Alert object and drag arrow over to connect to Update Alert object to create the flow.
Select the Get Alert object and right click for properties.
Select “…” to add connection.
Choose your SCOM RMS connection.
Select “Add…” to select what alerts you want to update.
In this case I selected all alerts that have a Resolution state of AUCForward. You could refine to make much more granular to meet your requirements.
Select Arrow and right click Properties to bring up Link properties.
Change Include to AlertCount from GetAlert is Greater than 0. We only want to update alerts if we find any.
Right Click Alert Update object and select Properties.
Right click in Alert ID properties to Subscribe -> Published Data.
Select Id from GetAlert and select Ok.
Click “Select Fields…” to select fields to update.
I selected Resolution state to change to SCORCH. You can select additional fields to update as needed.
Now you can select Runbook tester to verify that the alerts are updated.
Select Run to Breakpoint and then Alerts should be updated.
See status in Log window.
Note that the resolution state was successfully updated.
See the properties on alert History tab to validate Orchestrator updated the alert.
Next add the Activity – Scheduling – Monitor Date/Time object by dragging and dropping in your runbook.
Drag arrow to create flow from Monitor Date/Time to GetAlert object.
Select Properties on Monitor Date/Time object and select for this to run every 10 seconds and select Finish.
Check In your changes.
Right click the tab of the runbook in the designer and select Properties. Note that you can override the default runbook server to select which servers to run this on.
Right click the runbook tab and select Run to start the processing of alerts runbook you created.
If you encounter this error then start Runbook service.
This is an example of how you can automate updating SCOM alerts using System Center Orchestrator 2012. Orchestrator is a very powerful resource for any tasks that you plan to automate.