2021-06-14 07:45:19 +00:00
|
|
|
---
|
|
|
|
title: Default settings
|
|
|
|
---
|
|
|
|
|
2022-03-11 12:37:19 +00:00
|
|
|
```Shell
|
2021-06-14 07:45:19 +00:00
|
|
|
---
|
|
|
|
logging:
|
2022-03-30 19:28:17 +00:00
|
|
|
# Supported log levels: debug|info|warning|error|critical
|
2021-06-14 07:45:19 +00:00
|
|
|
level: warning
|
2022-03-30 19:28:17 +00:00
|
|
|
# Supported log formats: console|json|simple
|
2021-06-14 07:45:19 +00:00
|
|
|
format: console
|
|
|
|
|
2021-06-15 20:48:11 +00:00
|
|
|
metrics:
|
|
|
|
enabled: true
|
|
|
|
address: "127.0.0.1"
|
|
|
|
port: 8000
|
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
output_file:
|
2022-03-27 11:36:26 +00:00
|
|
|
output_file_mode: "0640"
|
|
|
|
|
2021-06-14 07:45:19 +00:00
|
|
|
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: []
|
2022-03-30 19:28:17 +00:00
|
|
|
|
|
|
|
# Needs to be a list of strings.
|
2021-06-14 07:45:19 +00:00
|
|
|
exclude_vmid: []
|
2022-03-30 18:48:39 +00:00
|
|
|
include_vmid: []
|
2021-06-14 07:45:19 +00:00
|
|
|
|
2022-03-30 19:28:17 +00:00
|
|
|
# Can be used to exclude vms by tags (proxmox 6+) - needs to be a list of strings.
|
|
|
|
# If `include_tags` and `exclude_tags` are set at the same time, the `exclude_tags` option takes precedence.
|
|
|
|
# If `include_tags` is set, and your VM don't have any tags set, they will not show up!
|
2022-03-03 08:08:27 +00:00
|
|
|
exclude_tags: []
|
2022-03-30 18:48:39 +00:00
|
|
|
include_tags: []
|
2022-03-03 08:08:27 +00:00
|
|
|
|
2023-09-19 07:00:30 +00:00
|
|
|
# Set either password or token_name and token_value
|
2021-06-14 07:45:19 +00:00
|
|
|
pve:
|
|
|
|
server:
|
|
|
|
user:
|
2022-03-06 22:18:55 +00:00
|
|
|
password:
|
2023-09-19 07:00:30 +00:00
|
|
|
token_name:
|
|
|
|
token_value:
|
2021-06-14 07:45:19 +00:00
|
|
|
auth_timeout: 5
|
|
|
|
verify_ssl: true
|
|
|
|
|
2023-09-19 07:00:30 +00:00
|
|
|
# Example with password
|
2021-06-14 07:45:19 +00:00
|
|
|
# pve:
|
|
|
|
# server: proxmox.example.com
|
|
|
|
# user: root
|
|
|
|
# password: secure
|
|
|
|
# auth_timeout: 5
|
|
|
|
# verify_ssl: true
|
2023-09-19 07:00:30 +00:00
|
|
|
|
|
|
|
# Example with API token
|
|
|
|
# pve:
|
|
|
|
# server: proxmox.example.com
|
|
|
|
# user: root
|
|
|
|
# token_name: pve_sd
|
|
|
|
# token_value: 01234567-89ab-cdef-0123-456789abcdef
|
|
|
|
# auth_timeout: 5
|
|
|
|
# verify_ssl: true
|
2022-03-11 12:37:19 +00:00
|
|
|
```
|