Quick start
This procedure starts one HTTP check and opens the web UI.
1. Create a configuration file
Create kemuri.yaml:
version: 1
server:
bind: 127.0.0.1
port: 8080
storage:
path: ./kemuri.db
profiles:
- kind: http
id: local-http
url: http://127.0.0.1:8080/healthz
interval: 30s
timeout: 5s
expected_status: 200
targets:
- id: local-kemuri
name: Local Kemuri
address: 127.0.0.1
checks:
- id: health
profile: local-http2. Validate the configuration
kemuri config validate --config ./kemuri.yamlKemuri rejects unknown fields and invalid values. Fix each reported error before you start the server.
3. Check local dependencies
kemuri doctor --config ./kemuri.yamlAdd --test-notifiers if the configuration contains notifiers:
kemuri doctor --config ./kemuri.yaml --test-notifiers4. Start the server
kemuri serve --config ./kemuri.yamlThe default startup mode runs each enabled check immediately. Later rounds use interval-aligned time slots.
5. Open the web UI
Open http://127.0.0.1:8080.
The readiness endpoint returns 200 OK when required dependencies are ready:
curl --fail http://127.0.0.1:8080/readyz6. Run one check from the command line
kemuri check local-kemuri/health --config ./kemuri.yamlThe command uses the same resolved probe settings as the server. It returns a nonzero exit code when the result is not healthy.
Add public DNS checks
The following configuration adds checks for three public DNS services:
profiles:
- kind: dns
id: public-dns
name: example.com
record_type: A
protocol: udp
expected_rcode: noerror
require_answer: true
interval: 30s
timeout: 5s
targets:
- id: cloudflare-dns
name: Cloudflare DNS
address: 1.1.1.1
group_path: public-dns
checks:
- id: resolve
profile: public-dns
server: 1.1.1.1:53
- id: google-dns
name: Google Public DNS
address: 8.8.8.8
group_path: public-dns
checks:
- id: resolve
profile: public-dns
server: 8.8.8.8:53
- id: quad9-dns
name: Quad9 DNS
address: 9.9.9.9
group_path: public-dns
checks:
- id: resolve
profile: public-dns
server: 9.9.9.9:53Merge these entries with the existing profiles and targets lists. Do not create a second key with the same name.