prometheus-pve-sd/docs/content/configuration/defaults.md
Mathias Petermann d15a01fd6a
fix: add proper discovery of IPv6 and IPv4 addresses (#155)
BREAKING CHANGE: The label `__meta_pve_ip` was removed in favor of `__meta_pve_ipv4` and `__meta_pve_ipv6`.
2022-02-27 12:31:46 +01:00

963 B

title
Default settings

{{< highlight YAML "linenos=table" >}}

logging: # supported log levels: debug|info|warning|error|critical level: warning # supported log formats: console|json|simple format: console

metrics: enabled: true address: "127.0.0.1" port: 8000

output_file: loop_delay: 300

Run pve sd in a loop and discover hosts every n seconds (as defined in loop_delay).

Can be disabled to run disovery only once.

service: true

exclude_state: []

needs to be a list of strings

exclude_vmid: []

pve: server: user: password auth_timeout: 5 verify_ssl: true

Example

pve:

server: proxmox.example.com

user: root

password: secure

auth_timeout: 5

verify_ssl: true

{{< /highlight >}}