Kevin, I was not sure how to get the new registry discovery into the existing sealed MP. That was the reason I opted to create another registry based discovery.
Do you have any input on how to include this additional registry discovery into existing MP? Once the discovery is in place, I wanted to use the same old group from sealed mp, do 'OR' condition and populate servers with new reg. key along with servers of reg. key. So that one group would contain servers with both reg. keys. Registry info: existing key: ----- o Creates registry location § HKEY_LOCAL_MACHINE\SOFTWARE\ABC\Support\Database Services SQL\ · “Data” = “Yes” additional key: ------------------- § HKEY_LOCAL_MACHINE\SOFTWARE\ABC\Support\ServerManagement\ · “AutomationsScope” = “Database Services SQL” I can provide xml output of sealed discovery Mp, if someone can review and advise where to include this additional key and group population. Regards, Sri On Tue, Jul 23, 2013 at 10:39 AM, Kevin Holman <[email protected]>wrote: > Personally I’d add all of this into a single MP, if the purpose is > simply to discover properties and then create a group based on those > properties. > > > > You are starting to get into an advanced group authoring scenario… these > should help: > > > > > http://blogs.technet.com/b/kevinholman/archive/2010/07/27/authoring-groups-from-simple-to-complex.aspx > > > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Srikanth Thumma > *Sent:* Tuesday, July 23, 2013 6:47 AM > *To:* [email protected] > *Subject:* Re: [msmom] Reg. Modifying Group population using registry key > > > > Hi Kevin, > > Thanks for reply. > > I missed to add the reference in the second MP which I created. I have > added it now. Also, do you recommend to seal the new MP I created (which > has the additional registry discovery rule)? > > > I was wondering in which section to include the 'Dynamic member' formula > so that the group defined in the first sealed MP would list servers > discovered by both the MP's. > > > > Regards, > > Sri > > > > On Mon, Jul 22, 2013 at 4:25 PM, Kevin Holman <[email protected]> > wrote: > > Did you add a reference in the exported unsealed MP to reference the > other sealed MP which contains the discovery/class definition? > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Srikanth Thumma > *Sent:* Monday, July 22, 2013 3:58 PM > *To:* [email protected] > *Subject:* [msmom] Reg. Modifying Group population using registry key > > > > > > Hi All, > > We have following requirement and I request community input on how to > achieve this.. > > scenario - 1 (Existing ) : > ------------------------ > > 1. There is existing custom sealed MP, which has a discovery defined based > on registry key. (eg. supported SQL servers based on registry entry 'abc') > > 2. A custom group (group-1) was defined to list these servers based on the > the registry key value > > 3. Many custom monitors were defined and scoped to this group > > scenario -2 (new requirement) : > ------------------------ > > 1. We need to discover additional set of servers based on separate > registry key value ('xyz') > > 2. Populate these additional servers in the same group as above (group-1) > > My approach > ------------------ > > 1. create a new discovery rule based on new registry key and seal it and > import in SCOM (I have done this step) > > 2. export the existing sealed MP (from scenario -1) , Edit the xml and > in Group population - dynamic member section add additional formula to > include the new registry key. > > Issue: > ------- > > I got stuck at step 2 in my above approach. I could not find the dynamic > member section where I can add the new registry information. Is it stored > in DB somewhere? > > Suggestion welcome > ------------------------------ > > If my approach is wrong, can anyone please advice me on how to implement > the new requirement? > > > Any help would be greatly appreciated. > > > Regards, > Sri > > > > > > > > > >
