Re: Chrony without daemon

Rob Janssen <chrony-users-Cohe+2zZ/ftmR6Xm/[email protected]> Tue, 5 Aug 2025 10:03:16 +0200
Newsgroups gmane.comp.time.chrony.user
Organization PE1CHL
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------sWG41dnGjmgFQLMSsE0xWXWr
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

My guess was that he was attempting monitoring of an existing chronyd outside
his container.
I have done that (way) in the past to monitor time service using nagios.
I just installed (copied) the chronyc binary to the monitoring system, which
itself was running ntpd, and made a check_chrony script that did a
chronyc call (from a perl skeleton available for nagios).
Probably not the most efficient way, but it works.  I used "chronyc tracking",
of course with a -h parameter.

But maybe I am completely wrong guessing his objectives... it is not very
clear from the explanation.

Rob

On 2025-08-05 09:20, Mingye Wang wrote:
> So uh Rob gave a good explanation of how chrony works, but honestly:
> this smells like an "XY problem" to me. What are you attempting to do,
> actually, by getting `chronyc sources`? In other words, what
> information do you *really* need?
>
--------------sWG41dnGjmgFQLMSsE0xWXWr
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    My guess was that he was attempting monitoring of an existing
    chronyd outside<br>
    his container.<br>
    I have done that (way) in the past to monitor time service using
    nagios.<br>
    I just installed (copied) the chronyc binary to the monitoring
    system, which<br>
    itself was running ntpd, and made a check_chrony script that did a<br>
    chronyc call (from a perl skeleton available for nagios).<br>
    Probably not the most efficient way, but it works.  I used "chronyc
    tracking",<br>
    of course with a -h parameter.<br>
    <br>
    But maybe I am completely wrong guessing his objectives... it is not
    very<br>
    clear from the explanation.<br>
    <br>
    Rob<br>
    <br>
    <div class="moz-cite-prefix">On 2025-08-05 09:20, Mingye Wang wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAD66C+b9WcX+4wBAM148EdaFEjek3gqzv5aQwJ2Le-O8F0gx=Q@mail.gmail.com">
      <pre wrap="" class="moz-quote-pre">So uh Rob gave a good explanation of how chrony works, but honestly:
this smells like an "XY problem" to me. What are you attempting to do,
actually, by getting `chronyc sources`? In other words, what
information do you *really* need?

</pre>
    </blockquote>
  </body>
</html>

--------------sWG41dnGjmgFQLMSsE0xWXWr--

-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]