How to add Metric Attributes

Parul Chaudhary
Tera Guru

Hello Experts,

Looking forward to understand if "Metric Attribute" tab under a software model is editable? The attributes in this tab are not always available for certain software models but I need to add these to be able to set the licensing rules accurately. It seems like I can't add values here for some of my software models. Roles I have are - system admin and sam-admin. I know this is automatically fed by content service but how could we add the attributes in case these are blank as shown in example below-

find_real_file.png

1 ACCEPTED SOLUTION

Logan Poynter
Mega Sage
Mega Sage

Hello Parul,

I think what you're looking for is Custom License Metrics. Metric Attributes are created automatically on the Software Model based on the License Metric chosen on the Software Entitlement record.


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan

View solution in original post

4 REPLIES 4

Logan Poynter
Mega Sage
Mega Sage

Hello Parul,

I think what you're looking for is Custom License Metrics. Metric Attributes are created automatically on the Software Model based on the License Metric chosen on the Software Entitlement record.


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan

Scott Halverso1
Mega Guru
Mega Guru

As Logan pointed out Metric Attributes are created automatically at the time of Software Entitlement being created/updated.  Asset Managers can update the metric attribute record once the system has created them.

There are two business rules that control the creation of removal of the metric attributes

  • Create Metric Attributes
  • Remove metric attributes

 

There are 15 different metric attributes based upon the software entitlements license group and license metric selected.

  • Maximum active OSEs per server
  • Maximum installs per OSE
  • Maximum installs per right
  • Maximum processors per right
  • Minimum users per processor
  • Minimum cores per processor
  • Minimum cores per server
  • Maximum cores per processor
  • Minimum cores per VM
  • Maximum VMs per right
  • Maximum sockets per right
  • Maximum size of instance on cloud
  • Minimum NUPs
  • Minimum NUPs per server
  • Minimum NUPs on cloud

 

Thank you Experts for your response, this is very helpful !

I understand metric attributes are fed automatically based on license metric chosen so is there a way to get the attributes added for custom metrics as well?

I know this is an old thread,  but putting my solution for Parul Chaudharys question out there for critique and feedback, or anyone that is looking for ideas on doing this.  You can create a business rule based on table Software Entitlement,     that triggers when Metric Group is changed to Custom,  with a script that gets the software_model, license_metric, and metric_group form the entitlement and then insert the following fields into the samp_sw_metric_attribute table 
metricGr.software_model = current.software_model;
metricGr.license_metric = current.license_metric;
metricGr.metric_group = current.metric_group;
metricGr.attribute_value = current.license_metric.u_license_count;
metricGr.attribute = 'max_install_per_right';