After gathering the required files, you are ready to create your custom metric family XML file.
Note: For more information about each XML tag, see the inline documentation provided in the MetricFamily.xsd and Component.xsd files. For code examples, see the ProcessInfoMFWithComponent.xml file. This example file defines a metric family for gathering process metrics.
Follow these steps:
We recommend that you create your XML file by copying the example metric family XML file or by exporting a factory XML file using web services (http://hostname:port/genericWS/metricfamilies).
Important! Do not copy a metric family XML file from the deploy directory. These files use an internal-only format that is not compatible with custom metric families.
Note: You cannot modify factory metric families. However, you can copy a factory metric family and then modify it.
Your custom metric family is created and ready to import into Data Aggregator.
Important! Always create and verify your custom metric family in a test environment first. Creating a custom metric family requires you to edit the metric family XML file manually. Semantic errors in this XML file can cause unpredictable results.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|