<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gibheer/monzero/cmd/moncheck, branch master</title>
<subtitle>monzero - A monitoring stack using PostgreSQL as the backend.
</subtitle>
<id>http://git.zero-knowledge.org/gibheer/monzero/atom?h=master</id>
<link rel='self' href='http://git.zero-knowledge.org/gibheer/monzero/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/'/>
<updated>2024-09-05T17:38:25Z</updated>
<entry>
<title>switch from github.com/lib/pq to github.com/jackc/pgx/v5</title>
<updated>2024-09-05T17:38:25Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2024-09-05T17:38:25Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=6ea4d2c82de80efc87708e5e182034b7c6c2019e'/>
<id>urn:sha1:6ea4d2c82de80efc87708e5e182034b7c6c2019e</id>
<content type='text'>
lib/pq is out of maintenance for some time now, so switch to the newer
more active library. Looks like it finally stabilized after a long time.
</content>
</entry>
<entry>
<title>add support for debug checker log output</title>
<updated>2023-09-05T13:24:11Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2023-09-05T13:24:11Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=efa2f5b307be6db42b781be4f9d86306114c0cb8'/>
<id>urn:sha1:efa2f5b307be6db42b781be4f9d86306114c0cb8</id>
<content type='text'>
With monzero supporting slog to get debug output from check commands,
moncheck now supports that too by changing the level to debug.
</content>
</entry>
<entry>
<title>migrate moncheck to slog</title>
<updated>2023-09-05T13:07:38Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2023-09-05T13:07:38Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=26a4ca6ab56d23054f606bc378ba355cebce485a'/>
<id>urn:sha1:26a4ca6ab56d23054f606bc378ba355cebce485a</id>
<content type='text'>
With this moncheck itself is also changed to use slog.
The early config parsing is still using log as we do not have any idea
what else to use.
But from then slog is used at all points.

With the additional config options a man page was also added to explain
the new config options.
</content>
</entry>
<entry>
<title>cmd/moncheck - fix missing return value</title>
<updated>2021-12-02T16:53:47Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2021-12-02T16:53:47Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=41d4805d584161ca16b8187194385e47c36422a6'/>
<id>urn:sha1:41d4805d584161ca16b8187194385e47c36422a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd/moncheck - switch to monzero.Checker</title>
<updated>2021-12-02T14:57:00Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2021-12-02T14:57:00Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=b69cd1ea3e2894ebe5afd189c8719836b7ed7aa6'/>
<id>urn:sha1:b69cd1ea3e2894ebe5afd189c8719836b7ed7aa6</id>
<content type='text'>
This switches the internals of the moncheck instance to using the
monzero.Checker API. This way we can reuse it completely and also see if
it works properly.
</content>
</entry>
<entry>
<title>support new checker api</title>
<updated>2019-08-12T12:49:53Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2019-08-12T12:49:53Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=e2b479c34fcee4c41009fc9e8fe869831fbd494f'/>
<id>urn:sha1:e2b479c34fcee4c41009fc9e8fe869831fbd494f</id>
<content type='text'>
With this, it is now possible to support multiple check instances and
balance the load.
</content>
</entry>
<entry>
<title>fill in state_change column</title>
<updated>2019-05-28T11:38:16Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2019-05-28T11:38:16Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=142f9cf3582e111910723cacbdc4a66267a79c75'/>
<id>urn:sha1:142f9cf3582e111910723cacbdc4a66267a79c75</id>
<content type='text'>
Any time the state of the check changes, we need to refresh the column.
This will be used in the frontend. This way it is much faster than using
the notifications and also doesn't rely on the last of it being still
around.
</content>
</entry>
<entry>
<title>cmd/moncheck: use mapping only for notifications</title>
<updated>2019-04-10T07:09:15Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2019-04-10T07:09:15Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=2bfe75c8a702508284ddb75a8db3a1b4911b9635'/>
<id>urn:sha1:2bfe75c8a702508284ddb75a8db3a1b4911b9635</id>
<content type='text'>
This should make the frontend much easier to handle than before. It
isn't the best solution, but it makes it easier in the frontend for now.
</content>
</entry>
<entry>
<title>fix idle in transaction</title>
<updated>2019-04-09T07:51:52Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2019-04-09T07:51:52Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=532f55d640ec0ab2cb3f352c8e449e9351522344'/>
<id>urn:sha1:532f55d640ec0ab2cb3f352c8e449e9351522344</id>
<content type='text'>
It happend all the time, that connections were hanging in idle in
transaction state.
This was caused by a rollback stuck behind a sleep loop to wait for the
next bunch of checks to run.

This also replaces a Query() call with QueryRow, as we only expect a
single row and this cleans up the code a bit.
</content>
</entry>
<entry>
<title>moncheck - add hostname to notifications</title>
<updated>2019-01-11T12:02:37Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer+git@zero-knowledge.org</email>
</author>
<published>2019-01-11T12:02:37Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/gibheer/monzero/commit/?id=7ed255d5911f22ac278c1e7a34b11ce273029c6e'/>
<id>urn:sha1:7ed255d5911f22ac278c1e7a34b11ce273029c6e</id>
<content type='text'>
This can help with determining which exact check connection broke the
check.
</content>
</entry>
</feed>
