Skip to main content
Larm supports four monitor types. Each type has its own configuration, but they all share common settings for check intervals, timeouts, and incident confirmation.

Common settings

These settings apply to all monitor types.
SettingDefaultDescription
Check interval3 minHow often to run the check (minimum 30s)
Timeout10sHow long to wait for a response (1s–30s)
Confirm down0 minMinutes of consecutive failures before marking as down
Confirm up0 minMinutes of consecutive successes before marking as recovered
Confirmation windows help smooth out brief interruptions. Set Confirm down to a few minutes if you want to avoid alerts for momentary blips.

HTTP

Checks a URL and validates the response status code, headers, and body content.
FieldDescription
URLThe URL to check (http or https)
MethodHTTP method (GET, POST, HEAD, etc.)
Expected status codesStatus codes that count as healthy (e.g. 200, 301)
Follow redirectsWhether to follow HTTP redirects
HeadersCustom request headers (up to 20, each value up to 8KB)
BodyRequest body for POST/PUT/PATCH (up to 64KB)
Expected keywordsStrings that must appear in the response body
Unexpected keywordsStrings that must not appear in the response body
Larm checks your URL from multiple global locations simultaneously and uses majority voting to confirm the result — a single probe failure won’t trigger a false alert.

TCP

Checks that a host is accepting TCP connections on a given port.
FieldDescription
HostHostname or IP address
PortTCP port number
Use this for databases, mail servers, game servers, or any service that listens on a TCP port.

DNS

Checks that a DNS record resolves to the expected values.
FieldDescription
HostThe domain to query
Record typeDNS record type (A, AAAA, CNAME, MX, TXT, etc.)
NameserverIP address of the nameserver to query
Expected recordsValues the DNS response should contain
Use this to verify DNS propagation, detect hijacking, or monitor record changes.

Heartbeat

Expects a periodic HTTP ping. If the ping stops arriving, the monitor goes down.
FieldDescription
Expected intervalHow often the ping should arrive (30s to 24h)
Grace periodExtra time to wait before alerting (0s to 1h)
When you create a heartbeat monitor, you get a unique token and URL. Ping it from your cron jobs, scheduled tasks, or background workers:
curl https://app.larm.dev/api/heartbeat/YOUR_TOKEN
See the heartbeat API reference for details.