Read the Data from Installed Components

You can get data, such as the discovered devices, poll data, and Engine and Presenter configurations for the device packs installed in the CA Performance Management environment. This section provides you sample request URL and the corresponding response.
2-6
You can get data, such as the discovered devices, poll data, and Engine and Presenter configurations for the device packs installed in the CA Performance Management environment. This section provides you sample request URL and the corresponding response.
HTTP Method: 
GET
Get the Discovered Devices
 Scenario:
  • Primary MultiController is installed at camm.ca.com with the default web server port number (8880).
  • Two LocalControllers are connected to the primary MultiController.
  • CAGuavus device pack is installed.
Request URL
Format: 
http://
<CAMM_HOST>
:<
WebServerPort
>/tim-web/rest/components/<componentID>/data/inventory
Sample response
<response url="/components/ENGINE_CAGuavus/data/inventory" version="2.x.y.z">
    <data>
        <inventory id="CAGuavus:Guavus_AZUSCA21NSA_A_GV_HPC7_20"/>
        <inventory id="CAGuavus:Guavus_FSLAB"/>
        <inventory id="CAGuavus:Guavus_AZUSCA21NSA_A_GV_HPC7_21"/>
        <inventory id="CAGuavus:Guavus_MIDM"/>
        <inventory id="CAGuavus:Guavus_ALL_DC"/>
        <inventory id="CAGuavus:Guavus_smlabgvsgp1"/>
        <inventory id="CAGuavus:Guavus_smlabgvuip2"/>
        <inventory id="CAGuavus:Guavus_smlabgvuip1"/>
        <inventory id="CAGuavus:Guavus_smlabgvsgp2"/>
        <inventory id="CAGuavus:Guavus_smlabgvccp2"/>
        <inventory id="CAGuavus:Guavus_smlabgvccp1"/>
        <inventory id="CAGuavus:Guavus_smlabgvcnp1"/>
        <inventory id="CAGuavus:Guavus_smlabgvcmp2"/>
        <inventory id="CAGuavus:Guavus_smlabgvcmp1"/>
        <inventory id="CAGuavus:Guavus_SANMATEO"/>
        <inventory id="CAGuavus:Guavus_smlabgvcnp2"/>
    </data>
    <status>
        <code>200</code>
        <message>Success!</message>
    </status>
</response>
Get the Last Performance Poll Data
Scenario:
  • Primary MultiController is installed at camm.ca.com with the default web server port number (8880).
  • Two LocalControllers are connected to the primary MultiController.
  • CAGuavus device pack is installed.
Request URL
Format: 
http://<
CAMM_HOST
>:<
WebServerPort
>/tim-web/rest/components/<
Component_Id
>/data/performance
Sample response
<response url="/components/ENGINE_CAGuavus/data/performance" version="2.x.y.z">
    <data>
        <performance id="ENGINE_CAGuavus">
        <root deviceType="CAGuavus" pollId="ENGINE_CAGuavus-1439205000576">
            <group>
                <TIM-Device>Guavus_smlabgvcnp1</TIM-Device>
                <TIM-deviceIP/>
                <TIM-Branch>Guavus_SAP</TIM-Branch>
                <TIM-BranchDescr>smlabgvcnp1</TIM-BranchDescr>
                <TIM-utc>1439204100</TIM-utc>
                <TIM-Delta>900</TIM-Delta>
                <DATA-Arcsight_record_data_volume>0</DATA-Arcsight_record_data_volume>
                <DATA-MIDM_data_processing_DC_duration>0</DATA-MIDM_data_processing_DC_duration>
                <DATA-MIDM_enriched_data_total_volume>0</DATA-MIDM_enriched_data_total_volume>
                <DATA-MIDM_aggregated_data_DC_volume>0</DATA-MIDM_aggregated_data_DC_volume>
                <DATA-Hadoop>0</DATA-Hadoop>
                <DATA-SAP_SubscriberIB_DC_volume>0</DATA-SAP_SubscriberIB_DC_volume>
                <DATA-Insta_status>0</DATA-Insta_status>
                <DATA-MIDM_data_transfer_DC_duration>0</DATA-MIDM_data_transfer_DC_duration>
                <DATA-Memory_utilization>0</DATA-Memory_utilization>
                <DATA-MIDM_data_processing_total_duration>0</DATA-MIDM_data_processing_total_duration>
                <DATA-HDFS_utilization>0</DATA-HDFS_utilization>
                <DATA-MIDM_aggregated_data_total_volume>0</DATA-MIDM_aggregated_data_total_volume>
                <DATA-MIDM_data_transfer_total_duration>0</DATA-MIDM_data_transfer_total_duration>
                <DATA-MIDM_enriched_data_DC_volume>0</DATA-MIDM_enriched_data_DC_volume>
                <DATA-Load_usage>0</DATA-Load_usage>
                <DATA-MIDM_total_duration>0</DATA-MIDM_total_duration>
                <DATA-Node_status>0</DATA-Node_status>
                <DATA-SAP_PilotPacket_DC_volume>0</DATA-SAP_PilotPacket_DC_volume>
                <DATA-CPU_utilization>0</DATA-CPU_utilization>
                <DATA-SAP_IPFIX_DC_volume>0</DATA-SAP_IPFIX_DC_volume>
                <DATA-Syslog_records_data_volume>0</DATA-Syslog_records_data_volume>
                <DATA-Nodes_in_Hadoop>0</DATA-Nodes_in_Hadoop>
            </group>
.
.
.
.
.
            <group>
                <TIM-Device>Guavus_smlabgvuip2</TIM-Device>
                <TIM-deviceIP/>
                <TIM-Branch>Guavus_SAP</TIM-Branch>
                <TIM-BranchDescr>smlabgvuip2</TIM-BranchDescr>
                <TIM-utc>1439204040</TIM-utc>
                <TIM-Delta>300</TIM-Delta>
                <DATA-Arcsight_record_data_volume>0</DATA-Arcsight_record_data_volume>
                <DATA-MIDM_data_processing_DC_duration>0</DATA-MIDM_data_processing_DC_duration>
                <DATA-MIDM_enriched_data_total_volume>0</DATA-MIDM_enriched_data_total_volume>
                <DATA-MIDM_aggregated_data_DC_volume>0</DATA-MIDM_aggregated_data_DC_volume>
                <DATA-Hadoop>0</DATA-Hadoop>
                <DATA-SAP_SubscriberIB_DC_volume>0</DATA-SAP_SubscriberIB_DC_volume>
                <DATA-Insta_status>0</DATA-Insta_status>
                <DATA-MIDM_data_transfer_DC_duration>0</DATA-MIDM_data_transfer_DC_duration>
                <DATA-Memory_utilization>0.16</DATA-Memory_utilization>
                <DATA-MIDM_data_processing_total_duration>0</DATA-MIDM_data_processing_total_duration>
                <DATA-HDFS_utilization>0</DATA-HDFS_utilization>
                <DATA-MIDM_aggregated_data_total_volume>0</DATA-MIDM_aggregated_data_total_volume>
                <DATA-MIDM_data_transfer_total_duration>0</DATA-MIDM_data_transfer_total_duration>
                <DATA-MIDM_enriched_data_DC_volume>0</DATA-MIDM_enriched_data_DC_volume>
                <DATA-Load_usage>0</DATA-Load_usage>
                <DATA-MIDM_total_duration>0</DATA-MIDM_total_duration>
                <DATA-Node_status>0</DATA-Node_status>
                <DATA-SAP_PilotPacket_DC_volume>0</DATA-SAP_PilotPacket_DC_volume>
                <DATA-CPU_utilization>32.34</DATA-CPU_utilization>
                <DATA-SAP_IPFIX_DC_volume>0</DATA-SAP_IPFIX_DC_volume>
                <DATA-Syslog_records_data_volume>0</DATA-Syslog_records_data_volume>
                <DATA-Nodes_in_Hadoop>0</DATA-Nodes_in_Hadoop>
            </group>
        </root>
        </performance>
    </data>
    <status>
        <code>200</code>
        <message>Success!</message>
    </status>
</response>
Get the Configuration of the Installed Engine
Scenario:
  • Primary MultiController is installed at camm.ca.com with the default web server port number (8880).
  • Two LocalControllers are connected to the primary MultiController.
  • CAGuavus device pack is installed.
Request URL
Format: 
http://
<CAMM_HOST>
:<
WebServerPort
>/tim-web/rest/components/
<component_Id>
/data/configuration
Sample response 
<response url="/components/ENGINE_CAGuavus/data/configuration" version="2.x.y.z"> <status> <code>200</code> <message>Success!</message> </status> <variables> <variable id="PRESENTER_ID">PRESENTER_CAPM</variable> <variable id="SCP_OR_SFTP">SFTP</variable> <variable id="EMS_IP_LIST">[cammsim.ca.com]</variable> <variable id="EMS_USERNAME">simuser</variable> <variable id="EMS_PASSWORD">ca123</variable> <variable id="EMS_BASEDIRECTORY">/export/troptest-vm1/Simulations/QA/CAGuavus/Bulkstats</variable> <variable id="EMS_INV_MAX_DOWNLOAD">8</variable> <variable id="EMS_INV_MAX_BATCHSIZE">4</variable> <variable id="EMS_PERF_MAX_DOWNLOAD">8</variable> <variable id="EMS_PERF_MAX_BATCHSIZE">4</variable> <variable id="EMS_FILE_PATTERN">.*.*</variable> <variable id="MAX_THREADS">4</variable> <variable id="INVENTORY_POLL_RATE">0 0 1</variable> <variable id="PERFORMANCE_POLL_RATE">0 */5 *</variable> <variable id="HOSTNAMECHANGE_ENFORCED">false</variable> <variable id="EMS_IGNORE_HISTORY">false</variable> <variable id="UNWANTED_DEVICE_LIST"/> <variable id="UNWANTED_BRANCH_LIST">TIM-XXXX</variable> <variable id="EMS_SSHKEYFILE"/> <variable id="EMS_PASS_PHRASE"/> <variable id="EMS_KNOWNHOSTS"/> <variable id="EMS_IGNORE_INCOMPLETEFILES">false</variable> <variable id="EXCLUDE_DIR_PATTERN"/> <variable id="MAXIMUM_JAVA_HEAP_SIZE">2048</variable> </variables> </response>
Get the Configuration of the Installed Presenter
Scenario:
  • Primary MultiController is installed at camm.ca.com with the default web server port number (8880).
  • Two LocalControllers are connected to the primary MultiController.
  • PRESENTER_CAPM is installed.
Request URL
Format: 
http://
<CAMM_HOST>
:<
WebServerPort
>/tim-web/rest/components/
<component_id>
/data/configuration
Sample response
<response url="/components/PRESENTER_CAPM/data/configuration" version="2.x.y.z">
    <status>
        <code>200</code>
        <message>Success!</message>
    </status>
    <variables>
        <variable id="OUTPUT_DIRECTORY">/opt/IMDataCollector/apache-karaf-2.3.0/MediationCenter</variable>
        <variable id="MAX_THREADS">4</variable>
        <variable id="MAXIMUM_JAVA_HEAP_SIZE">2048</variable>
    </variables>
</response>