2022-05-19 00:31:34 +08:00
|
|
|
# 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"
|
2022-07-13 04:36:10 +08:00
|
|
|
|
2022-05-19 00:31:34 +08:00
|
|
|
## Node name, defaults to OS hostname
|
2022-07-13 04:36:10 +08:00
|
|
|
## Unless Telegraf is on the same host as Proxmox, setting this is required
|
|
|
|
|
## for Telegraf to successfully connect to Proxmox. If not on the same host,
|
|
|
|
|
## leaving this empty will often lead to a "search domain is not set" error.
|
2022-05-19 00:31:34 +08:00
|
|
|
# node_name = ""
|
|
|
|
|
|
|
|
|
|
## 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"
|