Showing posts with label SCOM 2007. Show all posts
Showing posts with label SCOM 2007. Show all posts

Wednesday, July 24, 2013

Manually installed SCOM agents are not "Remotely Manageable"

In both SCOM 2007 R2 and SCOM 2012, manually installed agents show up as Not Remotely Manageable. This includes agents which are installed via an SCCM package.

When these agents are not Remotely Manageable, the following tasks cannot be performed on them:
1. Change Primary Management Server
2. Repair
3. Uninstall

To get these agents back to being Remotely managed:
1. Login to the SQL server which has the OperationsManager DB
2. Open SQL Server Management Studio
3. Expand databases
4. Select OperationsManager database
5. Click on New Query
6. Copy the following

UPDATE MT_HealthService 
SET IsManuallyInstalled=0 
WHERE IsManuallyInstalled=1


7. Click on Execute

Friday, July 19, 2013

SCOM 2007 R2: Alert - Processing backlogged events taking a long time


At my work place, in SCOM 2007 R2 we had several production servers showing as critical with the alert – Processing Backlogged events taking a long time.


The Monitor transitions to Warning state if Ops Manager is still processing backlogged events after 10 min. Ops Manager processed event ID 25017. If after another 10 min if the backlogged events are still being processed event ID 25018 is logged and transitions to Critical state. These event Ids appeared on some of the servers I checked.

This alert indicates:
1. Computer where the agent is installed may be low on resources. Check the resources on the computer - memory,CPU.
2. The computer is logging several events per minute. Check the event log to see if there is an application or event logging these events.
3. If the health service was stopped on the computer then when it is started, it has to process all the events from the last one it processed.

The alert is available in the System Center Core Monitoring Management Pack as can be seen below:



It appears that the backlog has been processed but the state has not returned to healthy on some servers


The below resolution worked in our environment

1.     On the affected server stop service – System Center Management

2.     Rename folder - C:\Program Files\System Center Operations Manager 2007\Health Service State

3.     Restart service – System Center Management

4.     Check that a new folder for Health Service State is created.

5.     Manually close alert if open.
6.   Check the agent is healthy again otherwise Reset Heath from SCOM console