Different categories of a monitor

Hi All.

i've exported all the rules and monitors from AD MP to csv files. i'm planning to categorise them into alerting and non-alerting - for both rules and monitors.

i have doubt regarding monitors,

Q1. The property of generating alerts in a monitor - is it enabled by default or are there any exceptions ?

Q2. When i exported the monitors from MP, i can see a column called "Category". want to understand difference between the following categories: 1. AvailabilityHealth 2.Custom 3.PerformanceHealth 4.StateCollection.

Thanks,

Sameer


January 27th, 2015 10:31am

Hi,

1. It's up to the author to decide if the monitor generates alert by default

2. Category is a logical classification for what the object is used (in your case the object is monitor)

https://msdn.microsoft.com/en-us/library/microsoft.enterprisemanagement.configuration.managementpackcategorytype.aspx

  • Proposed as answer by Patrick_Seidl Tuesday, January 27, 2015 11:42 PM
  • Unproposed as answer by Sameer_SCCM_SCOM Wednesday, January 28, 2015 4:53 AM
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2015 2:04pm

Hi,

You may try below powershell script to find all monitors and rules in AD MP which may generate alerts:

Get-SCOMManagementPack -DisplayName "*AD*" |Get-SCOMMonitor | where { $_.AlertSettings -ne $null}

Get-SCOMManagementPack -DisplayName "*AD*" |Get-SCOMRule | where { $_.AlertSettings -ne $null}

In addition, please check below link to know more details about monitor and rule

Monitors and Rules

https://technet.microsoft.com/en-us/library/hh457603.aspx

Regards,

January 28th, 2015 6:20am

Q1. The property of generating alerts in a monitor - is it enabled by default or are there any exceptions ?
   If enabled is true or 1 which the monitor will generate alert by default. Also the default behavior is depend on the author.
Q2. When i exported the monitors from MP, i can see a column called "Category". want to understand difference between the following categories: 1. AvailabilityHealth 2.Custom 3.PerformanceHealth 4.StateCollection.
    All monitor category is custom and rule category is depend on your selection when you creating a rule which has rule category. Also, the rule category is a logical classification of your rule.

Roger

Free Windows Admin Tool Kit Click here and download it now
January 28th, 2015 7:01am


1. "You may try below powershell script to find all monitors and rules in AD MP which may generate alerts:

Get-SCOMManagementPack -DisplayName "*AD*" |Get-SCOMMonitor | where { $_.AlertSettings -ne $null}"

it's not true as AlertSettings is optional element and monitor may not include this element but may have an override (as example, included in the same MP)  to activate alerting. So this script doesn't show some monitors that can generate alert in your environment.

In the end when you import MP you may have some monitors which generate alerts by default but have no AlertSettings.

2.  "All monitor category is custom and rule category is depend on your selection"

it's not true

https://msdn.microsoft.com/en-us/library/ee533706.aspx

https://msdn.microsoft.com/en-us/library/ee533740.aspx

https://msdn.microsoft.com/en-us/library/ee533962.aspx




January 28th, 2015 11:43am

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

Other recent topics Other recent topics