Files
vctp2/src/vctp.yml
Nathan Coad c66679a71f
All checks were successful
continuous-integration/drone/push Build is passing
more index cleanups to optimise space
2026-02-08 15:40:42 +11:00

48 lines
1.6 KiB
YAML

settings:
log_level: "info"
log_output: "text"
database_driver: "sqlite"
# PostgreSQL remains experimental and is disabled by default.
enable_experimental_postgres: false
database_url: "/var/lib/vctp/db.sqlite3"
reports_dir: /var/lib/vctp/reports
bind_ip:
bind_port: 9443
bind_disable_tls: false
tls_cert_filename: "/var/lib/vctp/vctp.crt"
tls_key_filename: "/var/lib/vctp/vctp.key"
# Optional explicit key source for credential encryption/decryption.
# Leave empty to use host-derived key material.
encryption_key: ""
vcenter_username: ""
vcenter_password: ""
vcenter_insecure: false
# Legacy API endpoints are disabled by default.
enable_legacy_api: false
# Deprecated (ignored): legacy event poller
vcenter_event_polling_seconds: 0
# Deprecated (ignored): legacy inventory poller
vcenter_inventory_polling_seconds: 0
vcenter_inventory_snapshot_seconds: 3600
vcenter_inventory_aggregate_seconds: 86400
hourly_snapshot_concurrency: 0
hourly_snapshot_max_age_days: 60
daily_snapshot_max_age_months: 12
# Retain hourly-table indexes only for recent data.
# -1 disables index cleanup; 0 trims indexes from all hourly tables.
hourly_index_max_age_days: 7
snapshot_cleanup_cron: "30 2 * * *"
hourly_snapshot_retry_seconds: 300
hourly_snapshot_max_retries: 3
hourly_job_timeout_seconds: 1200
hourly_snapshot_timeout_seconds: 600
daily_job_timeout_seconds: 900
monthly_job_timeout_seconds: 1200
monthly_aggregation_granularity: "hourly"
monthly_aggregation_cron: "10 3 1 * *"
cleanup_job_timeout_seconds: 600
tenants_to_filter:
node_charge_clusters:
srm_activeactive_vms:
vcenter_addresses: