Previous Topic: Additional Metrics SupportNext Topic: Creating a Custom Vendor Certification


Update a Custom Metric Family

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:

  1. Enter the following address in the URL field:
    http://da_hostname:8581/typecatalog/metricfamilies/name
    
    Name

    Is the name of the custom metric family to update. For our example, the metric family is named frPVCInfo.

  2. To verify that the metric family exists at that URL, select GET in the Method tab.

    Note: If the metric family does not exist, you can Import a Custom Metric Family.

  3. After you verify that the metric family exists at the URL, select PUT in the Method tab.
  4. Copy and paste your updated custom metric family XML into the Body tab (Edit field) and set the Content-type to application/xml.

    Important! Failing to set the Content-type results in a 404 error.

  5. Click the Go button next to the URL field.

    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.

  6. Next, update the custom vendor certification that this metric family is associated with.

More information:

Understanding the Metric Family XML Structure

Additional Metrics Support