Skip to content

add chrony support#1238

Merged
sparrc merged 4 commits intoinfluxdata:masterfrom
zbindenren:chrony
May 24, 2016
Merged

add chrony support#1238
sparrc merged 4 commits intoinfluxdata:masterfrom
zbindenren:chrony

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