-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: add Linux Volume Manager input plugin #9771
Conversation
The Logical Volume Management (LVM) input plugin collects information about physical volumes, volume groups, and logical volumes. This will only work on Linux and *BSDs as OS X and Windows do not have support for these types of disks. The metrics are broken out into the various LVM types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, some minor comments.
Comments addressed, read for re-review |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Hey @powersj ! Just tried using your pluigin on Ubuntu 18.04 and noticed the pvs bin path is hardcoded:
Could you maybe expand the configuration to allow different paths or use system envs to do so? |
@rafaelreis-r please file a bug and it is definitely something we can look at! Thanks! |
hello @powersj ! Is this plugin ready to be used by the docker version of Telegraf? I'm getting:
Using:
|
The docker image does not contain all the possible dependencies that every plugins would require. If we did, the docker image size would be huge to meet those requirements. If you want to use this plugin with docer you will need to create a custom image that includes those binaries as well. |
The Logical Volume Management (LVM) input plugin collects information about
physical volumes, volume groups, and logical volumes. This will only
work on Linux and *BSDs as OS X and Windows do not have support for
these types of disks.
The metrics are broken out into the various LVM types.
Resolves: #345
Required for all PRs: