Hi,
a few days ago I added my backuppc as a target but prometheus does not scrape / save all metrics.
I tried running prometheus in debug mode but got no Error Output.
Status / Target Page says up / no errors.
Some of the metrics:
# HELP backuppc_disk_usage Disk usage in %
# TYPE backuppc_disk_usage gauge
backuppc_disk_usage 89
# HELP backuppc_hosts_disabled Backups disabled
# TYPE backuppc_hosts_disabled gauge
backuppc_hosts_disabled{host="automat.homenet"} 0
# HELP backuppc_cpool_size Size in bytes of the pool
# TYPE backuppc_cpool_size gauge
backuppc_cpool_size 90001584
# HELP backuppc_hosts_full_age Age of the last full backup
# TYPE backuppc_hosts_full_age gauge
backuppc_hosts_full_age{host="automat.homenet"} 1643817189
# HELP backuppc_queues_background_count Number of jobs in the background queue
# TYPE backuppc_queues_background_count gauge
backuppc_queues_background_count 0
Config:
- job_name: backuppc
honor_labels: true
honor_timestamps: true
params:
action:
- metrics
format:
- prometheus
scrape_interval: 3m
scrape_timeout: 10s
metrics_path: /backuppc/index.cgi
scheme: http
basic_auth:
username: prom
password: <secret>
follow_redirects: true
static_configs:
- targets:
- 192.168.1.22
For the last week I googled a lot but go no clue what is wrong.
It seems for me that metrics with lables are ignored.
The missing ones are in the middle of the page, the last metric is “backuppc_queues_user_count” what is recognized.
What am I doing wrong ?
THX