This article only applies to Squared Up Version 2.0. If you're looking for help with Squared Up Version 3.0, please visit our new knowledge base

Overview

Custom tasks can be added to the SCOM console to link to the Squared Up console. The custom tasks cannot automatically be created in SCOM 2012, but it is possible to set them up manually.


Instructions

The integration adds two tasks to the SCOM console – one to view an alert in Squared Up, and the other to view a computer in Squared Up.


Adding the Alert Task

Here are the instructions for adding the alert task:

 

Open SCOM console

Click Authoring workspace

In tree view, click authoring > Management Pack Objects > Tasks

In task pane, click ‘Create a New Task’



Select Console Tasks > Alert command line

Select an existing management pack or create a new management pack

Click Next




For the Task Name, enter ‘View in Squared Up’

Click Next




For the Application, enter ‘cmd.exe’

For the Parameters, enter the following, where mywebserver is replaced with the name of the web server hosting Squared Up:

/c "start http://mywebserver/squaredup/alert?alertid=$Id$"

Uncheck ‘Display output when this task is run’

Click Create

The task should now be visible when you select an alert in the SCOM console:





Adding the computer task

 

Open SCOM console

Click Authoring workspace

In tree view, click authoring > Management Pack Objects > Tasks

In task pane, click ‘Create a New Task’




Select Console Tasks > Command line

Select an existing management pack or create a new management pack

Click Next



For the Task name, enter ‘View in Squared Up’

For the Task target, use the Select… option to select the Computer class in the System Library (see below)




Click Next



For the Application, enter ‘cmd.exe’

For the Parameters, enter the following, where mywebserver is replaced with the name of the web server hosting Squared Up:

/c "start http://mywebserver/squaredup/object/byname?name=<replace-with-display-name-property>"

 

Then use the property selector to replace the ‘<replace-with-display-name-property>’ text with the Display Name (see below):




The resulting Parameters entry should look like:

c/ "start http://mywebserver/squaredup/object/byname?name=$Target/Property[Type="SystemLibrary7585010!System.Entity"]/DisplayName$"


Uncheck ‘Display output when this task is run’

Click Create

 

The task should now be visible when you select a computer object in the SCOM console: