I have a problem with new servers i want to monitor using the agent.
i have SCOM 2007 SP1 (NOT R2, and not a gateway server) running on windows
2003.
The servers i try to monitor are a windows 2003 ep server, windows 2003 r2
and windows 2008 r2 64bit, and they are all on the same domain.
The error i get is:
A device which is not part of this management group has attempted to access
this Health Service.
Requesting Device Name : XXXx.XXXX.XX
eventid 20000
this happens on all servers i try to manage, i already have 25 servers
running at the moment, and they are different versions from windows server
2000 to 2008.
I tried to push install, agentless install and manual install but no effect
at all.
I also ran the following query but got no results:
DECLARE @BaseManagedEntityInternalId int
DECLARE @BaseManagedEntityId uniqueidentifier
DECLARE @ViewName sysname
DECLARE @Statement nvarchar(max)
SET @BaseManagedEntityInternalId = 0
WHILE EXISTS (SELECT * FROM BaseManagedEntity WHERE
(BaseManagedEntityInternalId >
@BaseManagedEntityInternalId))
BEGIN
SELECT TOP 1
@BaseManagedEntityInternalId = bme.BaseManagedEntityInternalId
,@BaseManagedEntityId = bme.BaseManagedEntityId
,@ViewName = met.ManagedTypeViewName
FROM BaseManagedEntity bme
JOIN ManagedType met ON (bme.BaseManagedTypeId = met.ManagedTypeId)
WHERE (bme.BaseManagedEntityInternalId > @BaseManagedEntityInternalId)
AND (bme.IsDeleted = 0)
ORDER BY BaseManagedEntityInternalId
SELECT @Statement = 'IF NOT EXISTS (SELECT * FROM ' + QUOTENAME(@ViewName) +
'
WHERE BaseManagedEntityId = ''' + CAST(@BaseManagedEntityId AS varchar(50))
+ ''')
PRINT ''' + CAST(@BaseManagedEntityId AS varchar(50)) + ' ' + @ViewName +
''''
EXECUTE(@Statement)
END
Thanks in advance.
Benjamin