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 chrony support #1238

Merged
merged 4 commits into from
May 24, 2016
Merged

add chrony support #1238

merged 4 commits into from
May 24, 2016

Conversation

zbindenren
Copy link
Contributor

@zbindenren zbindenren commented May 20, 2016

Newer linux systems (RHEL7/CENTOS7) use chrony as ntp daemon. This PR adds support for chrony stats in addition to ntpq stats.

Required for all PRs:

  • CHANGELOG.md updated
  • Sign CLA (if not already signed)
  • README.md updated (if adding a new plugin)


func init() {
c := Chrony{
path: "/usr/bin/chronyc",
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason you didn't make this path configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The path is not necessary anymore, since I do a lookup on initialisation and the binary is usually in PATH after installation. Changed the in the latest commits.

@sparrc
Copy link
Contributor

sparrc commented May 23, 2016

please also update the changelog

@sparrc sparrc merged commit 52d5b19 into influxdata:master May 24, 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