cisco.dnac.sites_telemetry_settings_v1 module – Resource module for Sites Telemetry Settings V1
Note
This module is part of the cisco.dnac collection (version 6.25.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cisco.dnac
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cisco.dnac.sites_telemetry_settings_v1
.
New in cisco.dnac 6.15.0
Synopsis
Manage operation update of the resource Sites Telemetry Settings V1.
Sets telemetry settings for the given site; `null` values indicate that the setting will be inherited from the parent site.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
dnacentersdk >= 2.4.9
python >= 3.5
Parameters
Parameter |
Comments |
---|---|
Sites Telemetry Settings’s applicationVisibility. |
|
Sites Telemetry Settings’s collector. |
|
IP Address. If collection type is ‘TelemetryBrokerOrUDPDirector’, this field value is mandatory otherwise it is optional. Examples “250.162.252.170”, “2001 db8 3c4d 15 1a2f 1a2b”. |
|
Collector Type. |
|
Min 1; Max 65535. If collection type is ‘TelemetryBrokerOrUDPDirector’, this field value is mandatory otherwise it is optional. |
|
Enable Netflow Application Telemetry and Controller Based Application Recognition (CBAR) by default upon network device site assignment for wired access devices. Choices:
|
|
Flag for Cisco DNA Center SDK to enable debugging. Choices:
|
|
The Cisco DNA Center hostname. |
|
The Cisco DNA Center password to authenticate. |
|
The Cisco DNA Center port. Default: |
|
The Cisco DNA Center username to authenticate. Default: |
|
Flag to enable or disable SSL certificate verification. Choices:
|
|
Informs the SDK which version of Cisco DNA Center to use. Default: |
|
Id path parameter. Site Id, retrievable from the `id` attribute in `/dna/intent/api/v1/sites`. |
|
Sites Telemetry Settings’s snmpTraps. |
|
External SNMP trap servers. Example “250.162.252.170”,”2001 db8 3c4d 15 1a2f 1a2b”. |
|
Enable this server as a destination server for SNMP traps and messages from your network. Choices:
|
|
Sites Telemetry Settings’s syslogs. |
|
External syslog servers. Example “250.162.252.170”, “2001 db8 3c4d 15 1a2f 1a2b”. |
|
Enable this server as a destination server for syslog messages. Choices:
|
|
Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema. Choices:
|
|
Sites Telemetry Settings’s wiredDataCollection. |
|
Track the presence, location, and movement of wired endpoints in the network. Traffic received from endpoints is used to extract and store their identity information (MAC address and IP address). Other features, such as IEEE 802.1X, web authentication, Cisco Security Groups (formerly TrustSec), SD-Access, and Assurance, depend on this identity information to operate properly. Wired Endpoint Data Collection enables Device Tracking policies on devices assigned to the Access role in Inventory. Choices:
|
|
Sites Telemetry Settings’s wirelessTelemetry. |
|
Enables Streaming Telemetry on your wireless controllers in order to determine the health of your wireless controller, access points and wireless clients. Choices:
|
Notes
Note
SDK Method used are network_settings.NetworkSettings.set_telemetry_settings_for_a_site_v1,
Paths used are put /dna/intent/api/v1/sites/{id}/telemetrySettings,
Does not support
check_mode
The plugin runs on the control node and does not use any ansible connection plugins, but instead the embedded connection manager from Cisco DNAC SDK
The parameters starting with dnac_ are used by the Cisco DNAC Python SDK to establish the connection
See Also
See also
- Cisco DNA Center documentation for Network Settings SetTelemetrySettingsForASiteV1
Complete reference of the SetTelemetrySettingsForASiteV1 API.
Examples
- name: Update all
cisco.dnac.sites_telemetry_settings_v1:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
state: present
applicationVisibility:
collector:
address: string
collectorType: string
port: 0
enableOnWiredAccessDevices: true
id: string
snmpTraps:
externalTrapServers:
- string
useBuiltinTrapServer: true
syslogs:
externalSyslogServers:
- string
useBuiltinSyslogServer: true
wiredDataCollection:
enableWiredDataCollectio: true
wirelessTelemetry:
enableWirelessTelemetry: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A dictionary or list with the response returned by the Cisco DNAC Python SDK Returned: always Sample: |