<feed xmlns='http://www.w3.org/2005/Atom'>
<title>console.git/statuspage/checks/ntpd.sh, branch master</title>
<subtitle>Monitor for my server
</subtitle>
<id>http://cgit.dandokmang.com/console.git/atom?h=master</id>
<link rel='self' href='http://cgit.dandokmang.com/console.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/'/>
<updated>2026-07-01T09:35:27Z</updated>
<entry>
<title>Fix clock offset extraction dropping positive values</title>
<updated>2026-07-01T09:35:27Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T09:35:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=958dfa35fd030e5b609298b1236692c85b6ffafc'/>
<id>urn:sha1:958dfa35fd030e5b609298b1236692c85b6ffafc</id>
<content type='text'>
ntpq's "rv 0 offset" prefixes non-negative offsets with an explicit
"+" (e.g. "offset=+0.030208"), which wasn't in the sed capture class
([-0-9.]). Since the capture group is starred, the regex still
"matched" with an empty capture instead of failing outright, silently
producing "no response" for every positive/zero offset while negative
ones (which do use "-", already in the class) worked fine. Confirmed
against the real box: earlier renders with negative drift worked,
then it started showing "no response" once the drift crossed zero.

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add ntpd/clock-sync check and a pre-commit hook for exec bits</title>
<updated>2026-07-01T07:36:55Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T07:36:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=689ca3bdadc00015d5aedd81f76fd0950777f1ef'/>
<id>urn:sha1:689ca3bdadc00015d5aedd81f76fd0950777f1ef</id>
<content type='text'>
checks/ntpd.sh reports whether ntpd is running and whether the clock's
offset is within tolerance (ok &lt;50ms, warn &lt;200ms, down beyond that or
if ntpq doesn't respond) - clock drift is a silent failure that
otherwise only surfaces later as TLS handshake failures or misleading
cross-jail log timestamps.

Also add .githooks/pre-commit + core.hooksPath, since this checkout is
on Windows where core.fileMode is false (the filesystem doesn't
reliably preserve the executable bit) - without it, a plain `git add`
on a new check script silently stages it as non-executable, and
render.sh skips non-executable files with no visible error.

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
