Git Product home page Git Product logo

chrony-candm's Introduction

chrony-candm

chrony-candm is a Rust crate for communicating with Chrony's control & monitoring interface. It provides programmatic access to information about Chrony's status that one would otherwise have to scrape from the output of chronyc. For API documentation, see docs.rs.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the GNU General Public License, version 2.0. For details, see LICENSE. See NOTICE and THIRD-PARTY respectively for first- and third-party copyright notices and acknowledgements.

chrony-candm is a community contribution from Amazon and is not affiliated with the Chrony project.

chrony-candm's People

Contributors

amazon-auto avatar dfoxfranke avatar frankkkkk avatar jacoblwisniewski avatar kylemanna avatar tphan25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chrony-candm's Issues

"Message too short" error when requesting `SourceData`

I am using this wonderful crate to successfully fetch tracking and source stats info from Chrony, but am running into a snag when trying to fetch SourceData.

Specifically, I get this error:

Custom { kind: InvalidData, error: DeserializationError(Some("message too short")) }

I wanted to drill down a bit more to figure out where this error was coming from, so I copied the chrony-candm and chrony-candm-derive sources into my repo and pointed my crate to the local copies instead, and somehow the error disappeared and the SourceData query began functioning. I am able to replicate this by switching back and forth between a local reference to the chrony-candm crate and the usual reference in my Cargo.toml.

I would like to try to debug this further myself, but I will need to figure out a way to replicate the issue with the crate checked out in a way so I can modify it. Was hoping to see if anyone had thoughts on why this might be happening while I pursue other methods.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.