Smart Groups work dynamically to include the objects that meet the criteria you define in their definition.
You got most of it correct -
1. Get information about a registry key using your custom script
2. Associate server property defined in property dictionary. This should be done in the Built-In Property Classes > Server class.
3. Ensure to populate the value of this property for each server
4. Build your smart group with the following definition-
REGISTRY_KEY_PROPERTY equals <VALUE OF THE REGISTRY KEY WITH WHICH YOU WANT TO FILTER THE GROUP>
5. After saving the smart group, I would recommend doing the following:
5.1 Right click on the smart group and select 'Refresh'
5.2 Run 'Refresh Server Properties' job on all servers
Your smart group should now be populated dynamically based on the filter you defined.
1 of 1 people found this helpful
There is not currently a way to say “if server reg key xys is 5, put in this smartgroup”. You need to do what you are doing now. w/ the script and server properties.
Thank you, I did not think there were any other options but I had to ask.