mirror of
https://github.com/netinvent/npbackup.git
synced 2024-11-10 09:03:02 +08:00
Update example config files
This commit is contained in:
parent
183d72e98f
commit
2aca4487f1
2 changed files with 4 additions and 4 deletions
|
@ -46,10 +46,10 @@ prometheus:
|
|||
## Supervision
|
||||
metrics: true
|
||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
||||
# Since you probably want the backup_job to be the job posted to pushgateway, name it without non URL encoded characters
|
||||
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
|
||||
# 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 backup_job above
|
||||
# example: /var/lib/prometheus/collector/mytextfile
|
||||
destination:
|
||||
no_cert_verify: False
|
||||
|
|
|
@ -46,10 +46,10 @@ prometheus:
|
|||
## Supervision
|
||||
metrics: true
|
||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
||||
# Since you probably want the backup_job to be the job posted to pushgateway, name it without non URL encoded characters
|
||||
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
|
||||
# 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 backup_job above
|
||||
# example: /var/lib/prometheus/collector/mytextfile
|
||||
destination:
|
||||
no_cert_verify: False
|
||||
|
|
Loading…
Reference in a new issue