Rules and monitors of a agent computer

In this topic i will show how to find rules and monitors running on a agent computer successfully in SCOM 2012

In operations manager console

Go to  Monitoring workspace

In monitoring navigate to operations manager view

in this view open agent details view

click agents by version then type the server name in Look for box and give find now

in the right side pane click “Show running rules and monitors for this health service”



SCOM Windows Service Monitoring

Windows services monitoring can be configured in SCOM using monitors or windows services template

Go to Authoring -> Management Pack Templates -> windows service


Right click -> Add monitoring wizard -> select windows service

Provide name of the display service to be monitored

Description optional

Select relevant unsealed management pack

service name of the service to be monitored

target group (computers which has this service to be monitored)

check or un check the automatic service check box

choose performance counters & timings (optional)

Save the wizard

Service will be monitored from now and you can check the service status in monitoring wizard


Go to Monitoring work space ->windows service and process monitoring->windows service state

In the right hand side you can view the services that are in monitoring


SCOM Agent Groups

SELECT SourceObjectDisplayName AS ‘Group’
FROM RelationshipGenericView
WHERE TargetObjectDisplayName like (‘%servername%’)
AND (SourceObjectDisplayName IN
(SELECT ManagedEntityGenericView.DisplayName
FROM ManagedEntityGenericView INNER JOIN
(SELECT BaseManagedEntityId
FROM BaseManagedEntity WITH (NOLOCK)
WHERE (BaseManagedEntityId = TopLevelHostEntityId) AND (BaseManagedEntityId NOT IN
(SELECT R.TargetEntityId
dbo.fn_ContainmentRelationshipTypes() AS CRT ON R.RelationshipTypeId = CRT.RelationshipTypeId
WHERE (R.IsDeleted = 0)))) AS GetTopLevelEntities ON
GetTopLevelEntities.BaseManagedEntityId = ManagedEntityGenericView.Id INNER JOIN
(SELECT DISTINCT BaseManagedEntityId
FROM TypedManagedEntity WITH (NOLOCK)
WHERE (ManagedTypeId IN
(SELECT DerivedManagedTypeId
FROM dbo.fn_DerivedManagedTypes(dbo.fn_ManagedTypeId_Group()) AS fn_DerivedManagedTypes_1))) AS GetOnlyGroups ON
GetOnlyGroups.BaseManagedEntityId = ManagedEntityGenericView.Id))
ORDER BY ‘Group’

SCOM Resource Group Monitor

Cluster Resource failed alert will be generated by 2 monitors
> Cluster Resource Failed Monitor
>Resource Group Monitor

Genuine clusters will be by cluster resource failed monitor
Where as resource group monitor will generate alerts if any one of the resource is not getting monitored by SCOM


Generally available storage object will be in not monitored state in SCOM by default

Due to which cluster failure alerts will be generated

To stop these false alerts , monitoring of available storage has to be disabled using override