Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph influxdb output no ceph_pool_stat #3431

Closed
yoke88 opened this issue Nov 6, 2017 · 5 comments
Closed

ceph influxdb output no ceph_pool_stat #3431

yoke88 opened this issue Nov 6, 2017 · 5 comments

Comments

@yoke88
Copy link

yoke88 commented Nov 6, 2017

Directions

using telegraf Telegraf v1.4.3 (git: release-1.4 b473b6a) to monitor ceph,but can not see the measurement with name 'ceph_pool_stat'

Bug report

Relevant telegraf.conf:

[[inputs.ceph]]
interval = '1m'
ceph_user = "client.admin"
ceph_config = "/etc/ceph/ceph.conf"
gather_admin_socket_stats = true
gather_cluster_stats = true

System info:

telegraf version: Telegraf v1.4.3 (git: release-1.4 b473b6a)
ceph version: ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)

Steps to reproduce:

  1. restart telegraf
  2. influxdb
> use telegraf
> show measurements
name: measurements
name
----
ceph
ceph_osdmap
ceph_pgmap
ceph_pgmap_state
ceph_pool_usage
ceph_usage
cpu
disk
diskio
kernel
mem
processes
swap
system

Expected behavior:

ceph_pool_stat measurement shoud be exist and has data while enable gather_cluster_stats = true

Actual behavior:

ceph_pool_stat measurement not exist

Additional info:

@danielnelson
Copy link
Contributor

See also #3387

@jiribroulik
Copy link

this pkg should fix yout pool stats https://dl.influxdata.com/telegraf/nightlies/telegraf_nightly_amd64.deb

@danielnelson
Copy link
Contributor

This is interesting, we haven't changed ceph since 1.4. I'm interested to hear more reports on if the pool stats are affected in the nightly.

@glinton
Copy link
Contributor

glinton commented Feb 21, 2019

@yoke88 if you have pools in the output of ceph osd pool stats -f json, do you see a measurement named ceph_pool_stats (plural)?

@danielnelson
Copy link
Contributor

Closing based on reports that this is now working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants