Dynamic Membership for a SCOM Group
Hello,
I a Dynamic Inclusion Rule for the membership of a SCOM Group:
( Object is Windows Computer AND ( NetBIOS Computer Name Matches regular expression (?i:^VODCC*|?i:^VOPCC*)) ) AND True )
Why do I catch a machine named VODCACS1? Isd it the ^ which display any order?
Also itb shows an error
Date: 4/25/2011 3:38:30 PM
Application: System Center Operations Manager 2007 R2
Application Version: 6.1.7221.0
Severity: Error
Message:
Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: parsing "(?i:^BOPCC*|?i:^BOPCX*)" - Quantifier {x,y} following nothing. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.DatabaseQueryModuleException: parsing "(?i:^BOPCC*|?i:^BOPCX*)" - Quantifier {x,y} following nothing. ----> System.ArgumentException: parsing "(?i:^BOPCC*|?i:^BOPCX*)" - Quantifier {x,y} following nothing.
at System.Text.RegularExpressions.RegexParser.ScanRegex()
at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipSubscription.ValidateRegularExpression(XPathNodeIterator regexPatternNodes)
at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipSubscription.Create(IXPathNavigable configurationXml, RelationshipQueryResultMethod relationshipQueryResultMethod, NotifyFatalErrorMethod notifyFatalErrorMethod)
--- End of inner ExceptionDeta...).
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
at Microsoft.EnterpriseManagement.DataAbstractionLayer.TypeSpaceOperations.PerformGroupMembershipDiscoverySnapshot(String managementPackXml)
at Microsoft.EnterpriseManagement.ManagementGroup.RefreshMonitoringGroupMembers(ManagementPack managementPack)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.DiscoveryPagesManager.UpdateGroupMembersJob(Object sender, ConsoleJobEventArgs e)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: parsing "(?i:^BOPCC*|?i:^BOPCX*)" - Quantifier {x,y} following nothing. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.DatabaseQueryModuleException: parsing "(?i:^BOPCC*|?i:^BOPCX*)" - Quantifier {x,y} following nothing. ----> System.ArgumentException: parsing "(?i:^BOPCC*|?i:^BOPCX*)" - Quantifier {x,y} following nothing.
at System.Text.RegularExpressions.RegexParser.ScanRegex()
at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipSubscription.ValidateRegularExpression(XPathNodeIterator regexPatternNodes)
at Microsoft.EnterpriseManagement.Mom.DatabaseQueryModules.MembershipSubscription.Create(IXPathNavigable configurationXml, RelationshipQueryResultMethod relationshipQueryResultMethod, NotifyFatalErrorMethod notifyFatalErrorMethod)
--- End of inner ExceptionDeta...).
but this is not the crioteria I have VOPCC is not BOPCC ??? this seems to refer to a previous group why?
Thanks,
Dom
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager
April 25th, 2011 6:35pm
Hi Dom, Have you been renaming this group or changing it to reflect the other naming convention of BOPCC to VOPCC? Try to create a new group with different name and such and see if that one also gives you this error.Bob Cornelissen - BICTT (My BICTT Blog)
Free Windows Admin Tool Kit Click here and download it now
April 26th, 2011 2:32am
I think the regex is incorrect. * = any repeat of previous char (any number of C in your regex). "." is a wildcard (.* any number of repeats). The match would only be for VODCC and VOPCC with any repeats of C. Just try to be a specific as possible with
regex. I'd write it like this: ^VO(D|P)CC.*
I'm not sure what ?i: means (case insensitive?). You might need to start with ^
Rob Korving
http://jama00.wordpress.com/
April 26th, 2011 7:57am