mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-24 06:25:17 +08:00
Update conf file layout
This commit is contained in:
parent
6f7406fd4b
commit
8482d27ed6
1 changed files with 6 additions and 4 deletions
|
@ -45,9 +45,10 @@ prometheus:
|
||||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
||||||
backup_job: ${MACHINE_ID}
|
backup_job: ${MACHINE_ID}
|
||||||
# Prometheus metrics destination can be a http / https server with optional basic authentication (pushgateway), or a file path for node textfile collector to pickup
|
# Prometheus metrics destination can be a http / https server with optional basic authentication (pushgateway), or a file path for node textfile collector to pickup
|
||||||
destination: # https://push.monitoring.example.tld/metrics/job/${BACKUP_JOB} where ${BACKUP_JOB} is defined in prometheus_backup_job
|
# example: https://push.monitoring.example.tld/metrics/job/${BACKUP_JOB} where ${BACKUP_JOB} is defined in prometheus_backup_job
|
||||||
|
# example: /var/lib/prometheus/collector/mytextfile
|
||||||
|
destination:
|
||||||
# prometheus instance, becomes exported_instance when using a push gateway
|
# prometheus instance, becomes exported_instance when using a push gateway
|
||||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}
|
|
||||||
instance: ${MACHINE_ID}
|
instance: ${MACHINE_ID}
|
||||||
|
|
||||||
# prometheus metrics upload password
|
# prometheus metrics upload password
|
||||||
|
@ -71,7 +72,8 @@ options:
|
||||||
auto_upgrade_server_password:
|
auto_upgrade_server_password:
|
||||||
# every 10 NPBackup runs, we'll try an autoupgrade. Never set this lower than 2 since failed upgrades will prevent backups from succeeding
|
# every 10 NPBackup runs, we'll try an autoupgrade. Never set this lower than 2 since failed upgrades will prevent backups from succeeding
|
||||||
interval: 10
|
interval: 10
|
||||||
backup_admin_password: NPBackup_00
|
|
||||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
||||||
auto_upgrade_host_identity: ${MACHINE_ID}
|
auto_upgrade_host_identity: ${MACHINE_ID}
|
||||||
auto_upgrade_group: ${MACHINE_GROUP}
|
auto_upgrade_group: ${MACHINE_GROUP}
|
||||||
|
|
||||||
|
backup_admin_password: NPBackup_00
|
Loading…
Reference in a new issue