SCOM : Agent managed server not visible in the Console Agent Managed view

Hello All,

This morning, I had one agent managed server which stop to work correctly. The server appears as Not Monitored (Note : That’s could apply for some server in grey state) in the Console Computers view.
image

I checked in the Console Agent Managed view, and there, the server is not present at all.
image

In the agent managed server, we have the following event :

Event Type:    Warning
Event Source:    OpsMgr Connector
Event Category:    None
Event ID:    21034
Date:        5/10/2012
Time:        8:41:00 PM
User:        N/A
Computer:    TYOBKP002
Description:
The Management Group XXXXX has no configured parents and most monitoring tasks cannot be performed.  This can happen if a management group in Active Directory does not have any server SCPs or if the agent does not have access to any server SCPs.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

The first step is to check if the Management Group Name and the Management server are well configured.
image

Before going further, be sure to have a good backup of your SCOM DBs. Log on to the OperationsDB database server and run the following query :

SELECT * FROM dbo.[BasemanagedEntity] where FullName Like ‘%Windows.Computer%’ and Name Like ‘%AGENTMANAGEDSERVERFQDN%

image

if the IsDeleted value is set to 0, run the following query :

UPDATE dbo.[BasemanagedEntity] SET IsDeleted = 1 where FullName Like ‘%Windows.Computer%’ and Name Like ‘%AGENTMANAGEDSERVERFQDN%

image

You could now close the Microsoft SQL console, and go back to the Agent Managed server and stop the System Center Management service.

image

Go to the SCOM Agent Installation folder and delete the Health Service State folder.
image

Start the the System Center Management service.
image

After a few seconds, in the event viewer, you will see that event, don’t worry, this is normal.
image

After a few minutes, the server will reappear as Not Monitored in the Console Agent Managed view.
image

In the event log, we could see that agent has returned to communicating with the management server.
image

And after some minutes, it could take up to 30 minutes, the agent will go back to Healthy in the Console Agent Managed view.
image

Smile

Regards
Christopher KEYAERT

clip_image001 clip_image002 clip_image004 clip_image005 clip_image007 clip_image008

Tweet about this on TwitterShare on FacebookShare on LinkedInShare on Google+Email this to someoneShare on TumblrPin on PinterestDigg thisShare on RedditFlattr the authorBuffer this pageShare on StumbleUpon

About Christopher Keyaert

Christopher Keyaert is a Consultant, focused on helping partners to leverage the System Center and Microsoft Azure cloud platform. He is also a Microsoft Most Valuable Professional (MVP) for Cloud and Data Center Management and a Microsoft Certified Trainer (MCT).
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *