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

add procval plugin #855

Closed
wants to merge 1 commit into from
Closed

add procval plugin #855

wants to merge 1 commit into from

Conversation

zbindenren
Copy link
Contributor

We had an issue in our company, that we had not enough entropy on the system for our current ssl ciphers. The problem especially occurred on virtual systems.

So I wrote a small plugin which reads integer values from defined proc files and sends them to inlfuxdb. With that plugin it is possible to monitor system entropy.

@sparrc
Copy link
Contributor

sparrc commented Mar 16, 2016

thanks for the contribution @zbindenren, but I'm going close this because it seems a little "one-off" for having as a dedicated plugin in Telegraf. It would be very simple to write up a shell script to get this info and use the exec plugin to parse the data.

There will also soon be a way to parse just a single value from an executable (see #849), that way, you could just setup the exec plugin like this:

[[inputs.exec]]
  name_override = "entropy"
  commands = ["cat /proc/path/to/entropy"]
  data_format = "value"
  data_type = "integer"

which will allow you to get the entropy without having to write a separate script

@sparrc sparrc closed this Mar 16, 2016
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

Successfully merging this pull request may close these issues.

2 participants