--- title: "Configure Collection Agent for Individual Devices" slug: "configuring-collection-agent-for-individual-devices-2" tags: ["metrics collection", "Metrics Collection Server", "Device Configuration", "Data Streaming", "Sensor Management"] updated: 2026-11-05T16:58:57Z published: 2026-11-05T16:58:57Z canonical: "docs.crossworkassurance.cisco.com/configuring-collection-agent-for-individual-devices-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure Collection Agent for Individual Devices If you want to set up collection of metrics data separately for individual managed devices, you can do so in the **Collection** page. In order to open a data stream for a device, such as a Crosswork Assurance Sensor, the device must be equipped with a Metrics Collection agent. To know if a particular device has a Metrics Collection agent, see the user guide for that model of device. **Note:** You can also set up collection of metrics data for multiple devices at once using a configuration job. For more information, see "Setting Up a PM Configuration Job for Metrics Collection". To configure the settings for an individual device, you go into the **Device Configuration** tab of the **Collection** page. When you double-click a specific device in the list, the **Agent profile configuration** dialog opens and you can configure the settings for the device. ## Settings Required to Collect, Stream and Export Data It takes five settings to ensure that a particular type of agent data will be collected on a particular device, then streamed to Sensor Management and finally exported to the destination system: A. **Enable agent** must be checked (or set to true). B. **Enable streaming** must be checked (or set to true). C. **Use same period** determines whether the same time period will be used for collecting data of all types. Can be enabled or disabled. D. **Collection settings** drop-down list (for the particular data type) must be set to **streaming**. For example in the figure below, the **PAA** data type is set to streaming. E. **Period (sec)** field (for the particular data type) must be set to an appropriate non-zero value. ## Changing the Data Collection Settings for a Device You can change the settings for collecting agent data for a single device as explained here. **Note:** If you disable then re-enable streaming, the device will only transmit data for the periods from the moment streaming is re-enabled. It will not transmit all of the periods stored in memory. 1. Access the **Collection ▶ Device Configuration** tab. 2. The list of managed devices is displayed with the current settings used for data collection on each device. 3. Double-click the device that you want to configure. The **Agent profile configuration** dialog for the device is displayed. 4. Edit the parameters as required. For more information on specific parameters, see the following table. **Agent profile configuration (Collection ▶ Device Configuration) Device configuration** | Parameter | Description | | --- | --- | | Enable agent | Enables or disables the Metrics Collection agent on the device. - **Enabled (true):** Enables Metrics Collection agent. Performance data can be collected. - **Disabled (false):** Disables Metrics Collection agent on the device. | | Enable streaming | Determines whether the Metrics Collection agent on the device is enabled for streaming agent data to Sensor Management: - **Enabled (true):** The device is prepared to stream its agent data to Sensor Management. - **Disabled (false):** The device will not stream its agent data to Sensor Management. ***Note:** If "Use Crosswork Assurance Sensor Management as default server for metrics collection" in [Configuring Global Collection Settings](/25-7/docs/configuring-global-collection-settings-2) is enabled, the streaming state of the managed device will automatically turn back on if it is disabled.* | | Use same period | Determines whether the same time period will be used for collecting data of all types. If you want to use different time periods for different types of data, uncheck this box (select **false**). The **Period** fields for each of the different agent data types in the **Collection settings** section will be enabled. You will be able to select different periods for the different data types. | | Use default server | Determines whether data will be streamed to the default Metrics Collection server (the current Sensor Management server). If required, data can be streamed to another Sensor Management server. This checkbox is only available if the current Sensor Management has been deselected as the default Metrics Collection server in the global agent configuration. For more information, see "Configuring Global Collection Settings". Check this box (select **true**) to enable streaming to the default server (current Sensor Management). Uncheck this box (select **false**) if you want to stream the data to a different Sensor Management server. The **Server IP** field and **Server port** field will be enabled so that you can enter the IP address and port of another Sensor Management to which you want data to be streamed. | | Server IP | The IP address of the Sensor Management server that will collect agent data. By default, Sensor Management inserts its own IP address as the target IP for receiving agent data. This field is only enabled if the **Use default** checkbox is unchecked (set to **false**). You must provide the IP address of another Sensor Management server. | | Period (sec) | The data collection period. Entered as a value in seconds. If the **Use same period** checkbox is checked (**true** is selected), the same time period will be used for all data types. If you want to set different time periods for different data types, ensure that **Use same period** checkbox is unchecked (**false** is selected). All **Period** fields will be enabled and you can set each period separately. Enter a value from 1 to 3,600 seconds. Acceptable values depend on the model of the device. To determine acceptable values for a particular device, see the user manual for the device model. | | Server port | The PM Collect port on the Sensor Management server is the port used for metrics collection on Sensor Management. Its value is typically set to 14,040. This field is only enabled if the **Use default** checkbox is unchecked. | **Collection settings** | Parameter | Description | | --- | --- | | Various types of Metrics Collection data | Use the drop-down menus to turn on collecting or streaming of a particular type of data. These are values that can be set and what they mean: - **off** - Data will not be collected on the device. - **collecting** - Data will be collected on the device but will not be streamed to the Metrics Collection server (usually Sensor Management). If required, the data can be sent to another server by FTP or another protocol. For more information, see the user manual for the device model. - **streaming** - Data will be collected on the device and streamed to the Metrics Collection server (usually Sensor Management). The following types of Metrics Collection data can be collected, streamed and exported: - PAA - Policy - Regulator - SOAM DMM - SOAM PL - SOAM SA - SOAM SA metric - SOAM SLM - flowmeter - TWAMP - Port - Shaper - SFP - System Health | | Period (sec) | The data collection period. Entered as a value in seconds. If the **Use same period** checkbox is checked (**true** is selected), the same time period will be used for all data types. If you want to set different time periods for different data types, ensure that **Use same period** checkbox is unchecked (**false** is selected). All **Period** fields will be enabled and you can set each period separately. Enter a value from 1 to 3,600 seconds. Acceptable values depend on the model of the device. To determine acceptable values for a particular device, see the user manual for the device model. | ## Enabling/Disabling the Metrics Collection Agent for a Device **CAUTION:** You must NOT enable the Metrics Collection agent on devices that have the History feature configured. Before enabling the Metrics Collection agent for the device in Sensor Management, you must disable the History feature on the device. **To enable data collection for a device** 1. Access the **Collection ▶ Device Configuration** tab. 2. Double-click the device for which you want to enable data collection. The **Agent profile configuration** dialog is displayed. 3. Check the **Enable agent** box. 4. Check the **Enable streaming** box. 5. For each data type that you want to collect on the device, ensure that the appropriate option is selected from the drop-down list beside the name of the data type: - **collecting -** The data will be collected on the device, but not streamed to Sensor Management. - **streaming -** The data will be collected on the device and streamed to Sensor Management. 1. Complete the other settings as required. For more information on specific parameters, see the table "Agent profile configuration (Collection ▶ Device Configuration)". 2. Click **Apply** and **Close**. **To disable data collection for a device** **Note:** If you disable then re-enable streaming, the device will only transmit data for the periods from the moment streaming is re-enabled. It will not transmit all of the periods stored in memory. 1. Access the **Collection ▶ Device Configuration** tab. 2. Double-click the device for which you want to disable data collection. 3. Uncheck the **Enable agent** box. 4. Uncheck the **Enable streaming** checkbox. 5. Click **Apply** then **Close**. ## Changing the Metrics Collection Server Individual devices can be managed by multiple Sensor Management systems. For a device that is managed by multiple Sensor Management systems, one of those systems must be designated as the device's Metrics Collection server. By default, the current Sensor Management system is used as the Metrics Collection server for all the devices it manages. However, it is possible to change the Metrics Collection server for devices individually. This is configured through two dialogs: - Server Configuration: This dialog configures data for the current Sensor Management system. - Agent Profile Configuration: This dialog configures the Metrics Collection server for an individual device. **To set the current Sensor Management as the Metrics Collection server for all devices** This is a global setting for the Sensor Management system on which you are currently working. 1. Select **Collection ▶ Server Configuration**. - To use the current Sensor Management system as the Metrics Collection server for all managed devices, ensure the **Use Sensor Management as default server for metrics collection** checkbox is checked. This is the default setting. - To use a different Sensor Management system as the Metrics Collection server on individual devices, you must uncheck **Use Sensor Management as default server for metrics collection**. The current Sensor Management system will still be used as the server on all managed devices. 1. Click **Apply** to change the parameters of the Sensor Management system. 2. Click **Close**. **To change the Metrics Collection server for a device** You can change the server for an individual device as explained below. **Note:** This procedure assumes that the agent setting of the current Sensor Management has been set appropriately as explained in "To set the current Sensor Management as the Metrics Collection server for all devices" above. 1. Access the **Collection ▶ Device Configuration** tab. 2. Double-click the device whose configuration you want to change. The **Agent profile configuration** dialog is displayed. 3. To use the current Sensor Management system as the Metrics Collection server for the device, ensure the **Use default server** checkbox is checked. 4. To use another Sensor Management system as the Metrics Collection server for this device: - Uncheck the **Use default server** checkbox. - Enter the IP address of the other Sensor Management system in the **Server IP** field. 1. Click **Apply** to save the change, then click **Close**. **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)