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

Is there any option to fetch Volume Group (VG) Usage and Free space under [[inputs.disk]] plugin #4502

Closed
rakeshmooreboyana opened this issue Aug 1, 2018 · 1 comment
Labels
discussion Topics for discussion

Comments

@rakeshmooreboyana
Copy link

Relevant telegraf.conf:

Read metrics about disk usage by mount point

[[inputs.disk]]

By default stats will be gathered for all mount points.

Set mount_points will restrict the stats to only the specified mount points.

mount_points = ["/"]

Ignore mount points by filesystem type.

ignore_fs = ["tmpfs", "devtmpfs", "devfs"]

System info:

[Include Telegraf version, operating system name, and other relevant details]
Telegraf v1.7.1 , Ubuntu jessie/sid

Steps to reproduce:

  1. ...
  2. ...

Expected behavior:

Expecting an option for fetching VG info (Used, Total and Free space) under inputs.disk plugin.

Actual behavior:

Additional info:

[Include gist of relevant config, logs, etc.]

@rakeshmooreboyana rakeshmooreboyana changed the title Is there any option for getting metrics for Volume Group (VG) Usage and Free space under [[inputs.disk]] plugin Is there any option to fetch Volume Group (VG) Usage and Free space under [[inputs.disk]] plugin Aug 1, 2018
@glinton glinton added the discussion Topics for discussion label Aug 1, 2018
@danielnelson
Copy link
Contributor

I assume you are referring to LVM volume groups? We don't have a plugin for this but there is an open feature request: #345

Easiest way to get this info currently is to create an script for the exec plugin that calls the vgs tool and converts the output to line protocol.

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

No branches or pull requests

3 participants