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

File mode on inputs #64

Closed
maximedevalland opened this issue Jun 7, 2017 · 3 comments
Closed

File mode on inputs #64

maximedevalland opened this issue Jun 7, 2017 · 3 comments

Comments

@maximedevalland
Copy link
Contributor

I am running into permission issues when using inputs

  telegraf::input { 'windows1':
    plugin_type => 'win_perf_counters',
    sections     => {
        'win_perf_counters.object' => {
        'ObjectName'    => 'Network Interface',
        'Counters' => ["Bytes Received/sec","Bytes Sent/sec","Bytes Total/sec","Packets Received/sec","Packets Sent/sec"],
        'Instances' => ["*"],
        'Measurement' => "win_net",
      }
    }
  }

It would make more sense to change the mode in config.pp from 0750 to 0770 as, by default, the group manages the file.

This was tested successfully and fixed permission issues.

@yankcrime
Copy link
Member

A PR for the change would be gratefully received!

@maximedevalland
Copy link
Contributor Author

There you go : #66

@maximedevalland
Copy link
Contributor Author

Merged into master. We can close this issue.

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

2 participants