Skip to content

Instantly share code, notes, and snippets.

@johnrichter
Created October 13, 2022 20:10
Show Gist options
  • Save johnrichter/0e14eb4a04e04fd66ed208a5e7585be6 to your computer and use it in GitHub Desktop.
Save johnrichter/0e14eb4a04e04fd66ed208a5e7585be6 to your computer and use it in GitHub Desktop.
# Default values for the vSphere integration. A full example of this file can be found at
# https://github.com/DataDog/integrations-core/blob/master/vsphere/datadog_checks/vsphere/data/conf.yaml.example
init_config:
service: vcenter
instances:
# Details on why we split up the check into two instances can be found here
# https://github.com/DataDog/integrations-core/blob/master/vsphere/datadog_checks/vsphere/data/conf.yaml.example#L95-L103
# Hosts and VMs in their own realtime instance
- collection_type: realtime
host: <vcenter host>
username: datadog-readonly
password: example_password
use_legacy_check_version: false
empty_default_hostname: true
collection_level: 4
# Datastores, Datacenters and Clusters in the historical instance
- collection_type: historical
host: <vcenter host>
username: datadog-readonly
password: example_password
use_legacy_check_version: false
empty_default_hostname: true
collection_level: 4
# Only one of these options is needed, but you could do both if you wanted to
logs:
# Syslog directly to this Agent option
- type: tcp
port: 10518
source: vsphere
# Syslog to file option
- type: file
path: "<PATH_LOG_FILE>/<LOG_FILE_NAME>.log"
source: "vsphere"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment