mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-10 21:48:22 +08:00
Change default job destination example
This commit is contained in:
parent
83dcb55b17
commit
3990d94e33
2 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ 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
|
||||||
|
# example: https://push.monitoring.example.tld/metrics/job/npbackup
|
||||||
# example: 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
|
# example: /var/lib/prometheus/collector/mytextfile
|
||||||
destination:
|
destination:
|
||||||
|
|
|
@ -47,6 +47,7 @@ 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
|
||||||
|
# example: https://push.monitoring.example.tld/metrics/job/npbackup
|
||||||
# example: 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
|
# example: /var/lib/prometheus/collector/mytextfile
|
||||||
destination:
|
destination:
|
||||||
|
|
Loading…
Add table
Reference in a new issue