Maybe you could add the mental process you would go through to establish the thresholds manually. UIM is not going to provide a decision process or method for you that's going to automatically do what you want unless you start off knowing exactly what you want. In this case it appears that you are requesting help to eliminate the laboriousness of a manual configuration process - so it's really helpful to start off that question with clear detail on that manual process you are trying to replace.
At a minimum it is possible to code in Lua (and a bunch of other supported languages) pretty much anything that you could do manually. The problem is that Lua doesn't know what you want unless you can supply the decision logic. Look into the controller callbacks - get/set config will get you started.
The archive package manager is extremely powerful with regards to managing and deploying configurations - it's one of the hidden gems in the product that CA doesn't seem to know or understand they own. Something that might help you here is that fact that when you deploy a traditional package, there's opportunity to supply a command that runs before the install section and one that runs after. So you can create a package that includes a default CDM cfx file and a batch file that figures out what drives are there and what their configuration settings should be and then, in the post install command section, it can run the batch file to apply those.
The MCS tool is on attempt three or four or five, depends on how you count the beta/alpha/PoC, etc releases along the way, to provide a template based configuration tool. So far all the attempts in my opinion have fallen well short of the existing archive package toolset because there's no true flexibility. You can coerce it to some extent but then what you are doing there is putting all the manual configuration labor into the templating process on the central server and pushing that out instead of applying a similar amount of labor to the remote system. It does work for some situations but not many. It's great if you want to get CPU monitoring on everything so you can put up graphs.