[chrony-users] Chrony interface |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: [chrony-users] Chrony interface
- From: "Larsen, Simon" <simon.larsen@xxxxxxxxxx>
- Date: Tue, 7 Jan 2020 12:18:00 +0000
- Accept-language: da-DK, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=swarco.com; dmarc=pass action=none header.from=swarco.com; dkim=pass header.d=swarco.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZgaMMpgv3V4mYun0BGk8pveuzpHi1LNBf2ZP3VId/as=; b=LvZThFI2QiZv9YKXG9gX1cEXrsoG9YRzxhGpSMuOQraV8Cd7nOATX6Aktv/s9+ohmODFiDWqoOwc4z0XKNui/DEOnkVv756FThU9/XdmaqI0VnNcPCCOBgD8Uj+rSYfMQzZXBYvZDhe+/qVxEICO6v+wW7Jz1AX7hL+82i+UMeQzOgWEu8OSfyn/WjuX015ZoB2QauqAStJtWO60jYD9FbLPJoNKaTeJoOY8SYud4HxcO/Q6Gep84nBZ8UdT/5/BvbIdYaKVJ/12ql+wXoHU3YHg6N8gTmngqll0bYh1Hrwjhftqn8WiD9VzAFw/jL1ilwn9dDgrjTgH3LlVOPkiUg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SNT5AkzrZGulh9Qs1PkPetgT93B9zYtGb9rEkBE8VxicHbakPItM2jhHBGGpKC8a7NtA0Ex+6A1jTImbOfa4oLFbt4tQJSvaI+BupAXXoF/Yi0rBUr1uvoic+fAj70upiCY/1Ny7/yD7Zt1NK9kV0KKTAH4q/QR001pEp9wnNNklmbRe5wRn1pu3N3L9QcaDek9e/Ln8TFRlneQcPmP3yBiCNasLgKdaBEt6xodezpCxkyq7hD4KWl7lGvVOta64mh3SExpyF5fRP9hX887nzYzwSYRds00dJCWLpOdTyVfrIlowgrgViBeuDYA6YHxE+mWoqksvXHPI2sCkQVJpYw==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon.larsen@xxxxxxxxxx;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Swarco.onmicrosoft.com; s=selector1-Swarco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZgaMMpgv3V4mYun0BGk8pveuzpHi1LNBf2ZP3VId/as=; b=eolxRoZ8Nm2B6tB5bHiuQTji3tP9fz6pA7h2xk6FoHSQ6Q6tTQ2A8mAUjZWr7lNR0UDEunxkbkWXYuXK87w5OfutQDWQipm31sjRP3FhDrX+VYUaX1dfKQSsAHOA7WcOLottZXAgtvSkes4iJMsww82neb4g9LwZCEQuukBrro8=
- Thread-index: AQHVxVSATymN5h6McEW9brN4NAp1xQ==
- Thread-topic: Chrony interface
Hello,
I recently started working with Chrony and got the NTP functionality up and running. Having the chronyc tool available I can use the chronyc tracking/sources commands to see the current status. This is great! However, I would like to present this information
through my own REST server (c++).
I can make a system call to chronyc, read the output and parse it. Although I can't be sure the text output format won't change, so this does not seem like a good way to read the tracking/sources information from chronyc.
Have anybody accomplished this through better means? If so I would be very happy to hear from you!
Kind regards,
Simon Larsen