DX NetOps

  • 1.  Data not populating using Power User Cert methods

    Posted Sep 13, 2013 02:04 PM
    I've created a new Component, Metric Family, and Certification using the REST API/Power User Certification method. The Polled Metric Family status is supported on the devices, but there are no Components at the bottom. When I create a Trend Chart all the new metrics show up but no data is populated. I know these are polling correctly because if I set Name and Description to the polled attributes, numbers are populated there (attached PolledStatusSS.png screenshot).

    I've gotten this working before using the Self-Certification guide (import metric family through the GUI), and the one difference I notice with that is you can specify Component Definition. Using this method also showed new Components under the Polled Status. The Power User guide makes no mention of this. My understanding, which may be way off, is the metric family expression needs to point to the component attribute (or definition). This line from the Power guide makes me believe you cannot create these through the REST API
    Understanding the Component XML:

    Properties Not Supported for Custom Components
    The following properties are not supported for custom components:

    Attribute


    My question is should I import a metric family through the GUI to set my component definitions, then modify the metric family/certification from the REST API? Or am I missing something from components using the Power User method?

    I've attached Performance Center screenshots and all my .xml configs.


  • 2.  RE: Data not populating using Power User Cert methods

    Posted Oct 22, 2013 05:29 PM
    Hello Community!

    Any answers for LuteLewis?

    Thanks!
    Mary


  • 3.  RE: Data not populating using Power User Cert methods

    Posted Oct 22, 2013 06:13 PM
    You can import the Component definition through the REST API

    Read Chapter 3 - Importing your Custom Component in the Power User cert guide

    To save you time excerpt from manual:
    1. Enter http://da-hostname:8581/typecatalog/components as the URL.
    2. Select POST on the Method tab.
    3. Copy and paste your custom component XML into the Body tab.
    4. Click the Go button next to the URL field.
    Your custom component is imported. If no errors occur, the Status field in the HTTP Response section displays:
    HTTP/1.1 200 OK
    Note: Any other return code indicates that an error occurred while updating your custom component. Fix the error and retry updating the component by doing another POST.


  • 4.  RE: Data not populating using Power User Cert methods
    Best Answer

    Posted Oct 22, 2013 06:29 PM
    In answer to your other question:

    For the metric family / component definition use the GUI method as first priority. Use the Power User method if you wnat to change the metric family
    For the Vendor Certifications use the GUI as first priority. Use the power method for doing things such as filtering for non interface stuff

    In summary if you can use the GUI method use it. Use the Power method (REST) when the GUI method doesn't fit.


  • 5.  RE: Data not populating using Power User Cert methods

    Posted Oct 22, 2013 06:48 PM
    Thanks for the answer.

    Additionally CA Support told me version 2.3 added changing Component definition through REST and sent me some examples.


  • 6.  RE: Data not populating using Power User Cert methods

    Posted Oct 23, 2013 04:22 PM
    Hi.

    Would you be willing to forward me a copy of that email and examples from CA Support? I work for CA Tech Info on the Data Aggregator doc set, and I'd like to compare it to the guide to see if it needs some clarification in a future release.

    My email address is: Jonquil.Williams@ca.com.

    Thanks,

    Jonquil