You can update an existing custom metric family. In this example, you previously added metrics to your custom metric family, frPVCInfo. Now, update the metric family for the changes to take effect.
Note: For information about the effects of updating a tag or attribute when updating your custom metric family, review the custom metric family XML details. In particular, review the specific attribute descriptions.
Follow these steps:
http://da_hostname:8581/typecatalog/metricfamilies/name
Is the name of the custom metric family to update. For our example, the metric family is named frPVCInfo.
Note: If the metric family does not exist, you can Import a Custom Metric Family.
Important! Failing to set the Content-type results in a 404 error.
Your custom metric family is updated. If no errors occur, the Status field in the HTTP Response section displays the following message:
HTTP/1.1 200 OK
Any other return code indicates that an error occurred while updating your custom metric family. Fix the error and retry updating the metric family by doing another PUT.
Important! To avoid possible data loss, always back up your deploy directory each time you create or update a vendor certification, metric family, or component.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|