mirror of
https://github.com/netinvent/npbackup.git
synced 2024-09-20 06:46:13 +08:00
Update example config files
This commit is contained in:
parent
183d72e98f
commit
2aca4487f1
|
@ -46,10 +46,10 @@ prometheus:
|
||||||
## Supervision
|
## Supervision
|
||||||
metrics: true
|
metrics: true
|
||||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
# 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}
|
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 backup_job above
|
||||||
# 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:
|
||||||
no_cert_verify: False
|
no_cert_verify: False
|
||||||
|
|
|
@ -46,10 +46,10 @@ prometheus:
|
||||||
## Supervision
|
## Supervision
|
||||||
metrics: true
|
metrics: true
|
||||||
# Available variables: ${HOSTNAME}, ${RANDOM}[n], ${MACHINE_ID}, ${MACHINE_GROUP}, ${BACKUP_JOB}
|
# 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}
|
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 backup_job above
|
||||||
# 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:
|
||||||
no_cert_verify: False
|
no_cert_verify: False
|
||||||
|
|
Loading…
Reference in a new issue