How to use the SCOM Task tile

Overview

The SCOM Task tile allows you to display up to date in-depth data in Squared Up without adding the data to your Data Warehouse.

It displays the results of SCOM tasks so that you can provide additional context or delegate information that usually requires specialist knowledge or privileges, which may help in resolving or understanding an issue.

For example, you can use the SCOM Task tile for a CPU alert to list the processes running, or for a security alert to display which users are currently logged on.

The data will always be live and up to date, refreshing when the dashboard reloads its data, which by default is every minute.

Grid and Raw options

The SCOM Task tile button (along with several other tiles) displays a little plus up the top right. This indicates that there are more tiles available from this one button.

SCOM Task tile button

After selecting the SCOM Task tile you will get the choice of On-Demand Task Raw or Grid.

On-Demand Task Raw button On-Demand Task Grid button

Use the Raw option when the results are returned as text.

Use the Grid option when the returned data is in the form of a table, such as CSV, JSON, PowerShell list or PowerShell Table. The resulting data will then be formated into columns, which you can edit, hide, reorder etc. See How to use the Grid Designer when configuring tiles.

Data on Demand and PowerShell management packs

The community Data on Demand management pack is a free open source management pack released by Squared Up, which contains many useful tasks for getting data from your systems. Visual Application Discovery & Analysis (VADA) uses the NetStat task from the Data on Demand management pack to get the information about which machines are connected to the server you’re interested in.

When the Data on Demand management pack doesn’t have a task for your need, you can use the PowerShell Monitoring management pack to author your own task from any existing PowerShell script.

Before you start, please download and install the management packs from here:

Data on Demand and PowerShell management pack downloads

Walkthrough: Using the On-Demand Task (Raw) option to run the IPConfig task

The SCOM Task tile can be used on a dashboard or a perspective. This walkthrough shows you how to add a SCOM Task tile to an existing perspective.

  1. In Squared Up browse or search for a server.

  2. Open the Network perspective.

  3. Click on the edit button Gear Edit Button at the top right of the screen to go into edit mode.

  4. Click on an orange plus button to add a new tile, and select the SCOM Task tile.

    SCOM Task tile button

  5. Edit the title by overwriting the placeholder value New tile with your own title.

  6. Click on On-Demand Task (Raw).

    On-Demand Task Raw button

  7. Leave the scope section as it is.

  8. In the task config section click on the task to execute drop down list and select IPConfig.

    GetNetstat CSV tile

  9. Click apply changes (execute). The task is run and you should see the data returned.

  10. Click done.

    GetNetstat CSV output

Walkthrough: Using the On-Demand Task (Grid) option to run the Get Netstat CSV task

  1. Click on an orange plus button to add another new tile, and select the SCOM Task tile.

    SCOM Task tile button

  2. Edit the title by overwriting the placeholder value New tile with your own title.

  3. Click on On-Demand Task (Grid).

    On-Demand Task Grid button

  4. Leave the scope section as it is.

  5. In the task config section click on the task to execute drop down list and select Get Netstat CSV (Data on Demand).

    GetNetstat CSV tile

  6. Click apply changes (execute). The task is run and you should see the data returned.

  7. In the task return format leave csv selected. If you were running a PowerShell script you would change this to powershell table to improve the formatting.

  8. In the grid columns section you can re-order, rename or even hide columns that you don’t wish to see. For more information see How to use the Grid Designer when configuring tiles.

  9. Click done.

    GetNetstat CSV output

Troubleshooting

SCOM On-Demand tasks cannot be run on Open Access dashboards, because Open Access is unauthenticated, so you will see the error MISSING_SCOM_PERMISSION.

Webinars

The webinar below (30 mins) covers using the SCOM Task tile, including a demo of using the PowerShell Monitoring management pack to display folder disk usage:

For a more in-depth look at the PowerShell Monitoring management pack take a look at the release webinar (60 mins):

How to use custom labelling

How to use the Grid Designer when configuring tiles

Data on Demand Masterclass webinar

PowerShell Monitoring MP webinar

Custom Labelling webinar

Data on Demand and PowerShell management pack downloads

Community Answers

GitHub pages for the Data on Demand MP label: How to use the SCOM Task tile keywords: SCOM tasks netstat data-on-demand raw grid PowerShell mp management pack execute run running script mp On-Demand on demand OnDemand data