SCOM - Monitors for Management Packs

Hi All,

Can any one share the information how we can get the list of monitors in a management pack in SCOM 2012 R2.

The SCOM 2007 R2 cmdlet doesn't work in SCOM 2012 R2.

Rgs,

March 29th, 2015 5:46pm

It works, it just has been renamed :

Get-SCOMMonitor -ManagementPack xxxx

Free Windows Admin Tool Kit Click here and download it now
March 29th, 2015 6:28pm

yup got that the complete command would be

get-scommonitor -ManagementPack "path" | export-csv "path".

now with the above sorted out is that possible to get the list of monitors with there threshold values for a particular management pack.

Rgs,

March 29th, 2015 6:35pm

No, there is unfortunately no way to get the monitor thresholds from a powershell cmdlet or any other programatical way (except parsing the XML)
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2015 6:43pm

Use the following powershell cmdlet to extract monitor within a Management Pack "Test Management pack" with default threshold value.

$ManagementPack=get-scomManagementPack|where-object{$_.displayname -eq "Test Management Pack"}

get-scommonitor -ManagementPack $ManagementPack | fl name, displayname, configuration

Roger

March 30th, 2015 3:34am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics