prometheus-pve-sd/docs/content/configuration/defaults.md

53 lines
1.1 KiB
Markdown
Raw Normal View History

2021-06-14 09:45:19 +02:00
---
title: Default settings
---
```Shell
2021-06-14 09:45:19 +02:00
---
logging:
# Supported log levels: debug|info|warning|error|critical
2021-06-14 09:45:19 +02:00
level: warning
# Supported log formats: console|json|simple
2021-06-14 09:45:19 +02:00
format: console
metrics:
enabled: true
address: "127.0.0.1"
port: 8000
2021-06-14 09:45:19 +02:00
output_file:
output_file_mode: "0640"
2021-06-14 09:45:19 +02: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: []
# Needs to be a list of strings.
2021-06-14 09:45:19 +02:00
exclude_vmid: []
include_vmid: []
2021-06-14 09:45:19 +02: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!
exclude_tags: []
include_tags: []
2021-06-14 09:45:19 +02:00
pve:
server:
user:
password:
2021-06-14 09:45:19 +02:00
auth_timeout: 5
verify_ssl: true
# Example
# pve:
# server: proxmox.example.com
# user: root
# password: secure
# auth_timeout: 5
# verify_ssl: true
```