Solved

OpsMgr 2007 R2 dynamic group membership

Posted on 2012-03-24
6
1,352 Views
Last Modified: 2012-04-16
Installation consist of scom 2007 r2 on windows 2003 r2 with one management group. About 15 management packs deployed and about 3000 agents. All in all it is working good but recently I stumble upon an issue with populating dynamic groups. Although I've excluded members (windows computer entity) from a dynamic group (either by exclude tab or by query) it doesn't seems to work.
In view members entity isn't there but I have health state view which is narrowed to that group and that computer is still showing there. By querying the db I can see that computer is still member of that group although view members doesn't shows it.
I've tried creating new groups with different kind of queries and behavior is the same. Even tried creating groups in different management packs. All the same. Waited for interval to pass, the same.

Any ideas what to look at next?
0
Comment
Question by:mmuza
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:alimu
ID: 37786439
Can you post your dynamic inclusion and exclusion queries/objects so I can have a look at what you've setup?
0
 

Accepted Solution

by:
mmuza earned 0 total points
ID: 37786525
( Object is Windows Computer AND ( Principal Name Matches wildcard ser* ) AND ( Principal Name Does not equal server01.domain.local ) )
I'm currently looking at this but not so keen on implementing that as relationship view will be broken I think:
http://blogs.technet.com/b/kevinholman/archive/2009/11/03/why-do-my-group-memberships-for-windows-computers-have-machines-that-don-t-belong-there.aspx
0
 
LVL 14

Expert Comment

by:alimu
ID: 37786704
yeah, i'd expect that query to work fine.  Your state view is just windows computers in the group or something more complex?
from that blog entry did you try *just* running the powershell cmdlet Kevin mentions "remove-disabledmonitoringobject" to see if that made any difference to your views? maybe there's something hinky floating around in there that never quite got deleted properly out of the database.

also in ref to the blog entry, is your exclusion a hyper-v host?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:mmuza
ID: 37831966
I went through the mentioned post and issue is resolved now.
0
 
LVL 14

Expert Comment

by:alimu
ID: 37835888
no objections.
0
 

Author Closing Comment

by:mmuza
ID: 37850275
Technet article was the solution.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now