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 logfile rotation variables to the telegraf config file #149

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jschoewe
Copy link

Pull Request (PR) description

This PR adds optional logfile rotation variables for the telegraf config file. Without these variables our log files are becoming too large and filling up the drive space on our backup servers

@bastelfreak bastelfreak added the enhancement New feature or request label Aug 17, 2020
manifests/init.pp Outdated Show resolved Hide resolved
@bastelfreak bastelfreak added the needs-feedback Further information is requested label Aug 17, 2020
@@ -21,6 +21,15 @@
flush_jitter = "<%= @flush_jitter %>"
precision = "<%= @precision %>"
logfile = "<%= @logfile %>"
<% if @logfile_rotation_interval -%>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please implement thats for the options that verify that the content is placed into the template?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I set these to use the default values in the params file instead of checking if they were passed.

@jschoewe
Copy link
Author

I've never used this CI tool before but I'm kind of confused because it's giving me syntax errors in files that I didn't touch. Should I fix those as well?

@bastelfreak
Copy link
Member

that's currently failing because of an updated dependency. I tried to fix that in https://travis-ci.org/github/voxpupuli/puppet-telegraf/builds/714241007 (#147) but I'm not yet sure why the tests fail :(

@vox-pupuli-tasks
Copy link

Dear @jschoewe, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs?
If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com.
You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@vox-pupuli-tasks
Copy link

Dear @jschoewe, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@albatrossflavour
Copy link
Contributor

BUMP

Any chance of getting this reviewed?

@bastelfreak
Copy link
Member

@albatrossflavour thie PR needs to be rebased. If you like you can checkout the branch, rebase it and submit it as new PR

@albatrossflavour
Copy link
Contributor

Since #211 has been merged, this can likely be closed. @jschoewe any objections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request merge-conflicts needs-feedback Further information is requested needs-tests tests-fail
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants