digitalocean / ceph_exporter

Prometheus exporter that scrapes meta information about a ceph cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ceph_exporter gather error

jeffaryhe opened this issue · comments

ceph nautilus;I stopped a osd service。ceph_exporter The following error occurs,So Prometheus couldn't collect it
This error reporting problem needs to be resolved

An error has occurred while serving metrics:

collected metric "ceph_osd_down" { label:<name:"cluster" value:"ceph" > label:<name:"device_class" value:"hdd" > label:<name:"host" value:"ceph1" > label:<name:"osd" value:"osd.2" > label:<name:"rack" value:"default" > label:<name:"root" value:"" > label:<name:"status" value:"down" > gauge:<value:1 > } was collected before with the same name and label values

Ceph OSd crush Link OSD caused this problem ,Value failure caused by repeated occurrences

Can you paste the output of ceph osd tree?

commented

Closing this in favor of #99 which better describes the bug