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

chrony input plugin leap_status is truncated #1982

Closed
m4ce opened this issue Nov 2, 2016 · 1 comment
Closed

chrony input plugin leap_status is truncated #1982

m4ce opened this issue Nov 2, 2016 · 1 comment

Comments

@m4ce
Copy link
Contributor

m4ce commented Nov 2, 2016

Hi,

the chrony input plugin has a little issue where assigning string values to tags. It only considers the first item of the valueFields array of strings.

In the case of leap_status being 'Not synchronized', only 'not' will be reported.

Reference ID    : 0.0.0.0 ()
Stratum         : 0
Ref time (UTC)  : Thu Jan  1 00:00:00 1970
System time     : 0.000000007 seconds slow of NTP time
Last offset     : +0.000000000 seconds
RMS offset      : 0.000000000 seconds
Frequency       : 9.953 ppm slow
Residual freq   : +0.000 ppm
Skew            : 0.000 ppm
Root delay      : 0.000000 seconds
Root dispersion : 0.000000 seconds
Update interval : 0.0 seconds
Leap status     : Not synchronised

I am preparing a pull request to fix the issue.

@sparrc
Copy link
Contributor

sparrc commented Nov 3, 2016

closed by #1983

@sparrc sparrc closed this as completed Nov 3, 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

No branches or pull requests

2 participants