Add a custom license metric
You can add a custom license metric to modify the default reconciliation process.
Before you begin
- to create or modify a custom metric script: sam_developer
- to read custom metric script: sam_admin
Role required to create or modify a custom metric script: sam_developer
About this task
Custom license metrics can be created to define specific software calculations not included in the predefined license metrics list. Custom license metrics are useful so reconciliation can calculate rights per user or device for certain software products and bundles of lesser-known software publishers.
For example, you can create a custom metric to avoid over counting installs for products that are part of an unrecognized bundle.
You can use the Resource Value [samp_sw_resource_value] table to enhance the custom license metric capability by doing a 1:1 calculation between the Units consumed column in the Resource Value [samp_sw_resource_value] table and the Licenses required column in the License Metric Results [samp_license_metric_result] table. You can create your own calculations in your custom license metric scripts and write your own logic to further customize your custom license metric. For information on adding resource values to the Resource Value [samp_sw_resource_value] table, see Specify resource values for your custom license metrics.
Custom metrics can be disabled using the custom license metric property. This feature is enabled by default.