24 lines
899 B
Text
24 lines
899 B
Text
# Provides metrics from Proxmox nodes (Proxmox Virtual Environment > 6.2).
|
|
[[inputs.proxmox]]
|
|
## API connection configuration. The API token was introduced in Proxmox v6.2.
|
|
## Required permissions for user and token: PVEAuditor role on /.
|
|
base_url = "https://localhost:8006/api2/json"
|
|
api_token = "USER@REALM!TOKENID=UUID"
|
|
|
|
## Node name, defaults to OS hostname
|
|
## Unless Telegraf is on the same host as Proxmox, setting this is required.
|
|
# node_name = ""
|
|
|
|
## Additional tags of the VM stats data to add as a tag
|
|
## Supported values are "vmid" and "status"
|
|
# additional_vmstats_tags = []
|
|
|
|
## Optional TLS Config
|
|
# tls_ca = "/etc/telegraf/ca.pem"
|
|
# tls_cert = "/etc/telegraf/cert.pem"
|
|
# tls_key = "/etc/telegraf/key.pem"
|
|
## Use TLS but skip chain & host verification
|
|
# insecure_skip_verify = false
|
|
|
|
## HTTP response timeout (default: 5s)
|
|
# response_timeout = "5s"
|