Installation
Render
Deploy kogut on Render with a persistent disk.
Run kogut on Render as a web service from the container image, separate from the servers it monitors. The disk needs a paid instance type, such as Starter.
-
In the Render dashboard, select New → Web Service → Existing Image and enter
ghcr.io/piotrkowski/kogut:0.1. -
Choose an instance type with a disk.
-
In Environment, add
PORT=8484and setKOGUT_URLto the service’s HTTPSonrender.comURL. For your own domain, add it under Settings → Custom Domains and use that URL. -
In Advanced, add a disk mounted at
/dataand set Health Check Path to/healthz. -
Create the service. Open the URL and create your account with the setup token: search the service’s log for
setup_token.
Configure the service
The disk holds the database; keep it attached across redeploys. 1 GB is enough for a few dozen checks, a few hosts, and a few thousand page views a day with the default retention. You can increase the disk size later.
Put kogut.toml at /data/kogut.toml on the disk.
If you know Render’s proxy address range, add it to [server] trusted_proxies.
Otherwise all visitors through that proxy share one rate limit. See
Client addresses.
Monitor servers and internal services
Install the agent on each server with the Render HTTPS URL.
Use from to run checks inside private networks; see
Internal services. If Render blocks ICMP, run ping
checks from an agent or use a TCP check.
Update
Select Manual Deploy → Deploy latest reference to pull the latest patch of the 0.1
image tag. Read Upgrading before changing minor versions.