Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

vinted/ceph-exporter

Repository files navigation

Prometheus ceph exporter

Information

Exporter queries ceph admin sockets (asok) and generates detailed metrics for:
OSDs
MONs
RGWs
Any other (future and present) instances which support asok sockets

Metric names are generated from socket schema.
Thus it should not depend on ceph version and work with all ceph releases.

Building

Checkout https://github.com/vinted/ceph-exporter repo.
Build executable:

go build

Using

Execute ceph-exporter:

./ceph-exporter

By default exporter will bind to port 9353.

Configuration

Following config parameters are available:

 -asok.path string
 	path to ceph admin socket direcotry (default "/var/run/ceph")
 -log.level string
 	Logging level (default "info")
 -telemetry.addr string
 	host:port for ceph exporter (default ":9353")
 -query.interval int
 How often should daemon read asok metrics (default 15)
 -health.collector bool
 Collect health status from ceph monitor (default false).
 This collector should not run on every ceph cluster node. It is enough to
 have single health.collector (or several for HA) enabled to collect cluster health.
 -config.file string
 Path to ceph config file (default /etc/ceph/ceph.conf).
 Needed only when health.collector is enabled

About

Prometheus exporter for Ceph

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /