Skip to main content
Network

Domain Expiry

Get warned in time before your domains' registrations expire.

The Domain Expiry check looks up when a domain's registration expires and warns you in time to renew it. It retrieves the expiry date over RDAP, the successor to WHOIS. The check runs on the device with the octoja agent on Windows, Linux, and macOS (each in x64 and Arm64 builds), every 12 hours by default.

Prerequisites

The device needs outbound HTTPS access to rdap.org and to the registry's RDAP service that rdap.org redirects to. See Configure firewall access for the agent for the required rules.

Steps

  1. Open the device.
  2. Choose Checks → Add Check → Domain Expiry.
  3. Enter the registered domains under Domains and adjust the thresholds if needed.

Because the expiry date does not depend on the device, one assignment to a device with internet access is usually enough. To cover several devices, assign the check with a config package.

Settings

FieldTypeRequiredDefaultDescription
Domainslist of stringsYes—Registered domains to check, e.g. example.com
Timeout (ms)integerNo10000Time allowed for the RDAP request per domain. Values outside 1000–60000 are clamped

Thresholds

FieldTypeRequiredDefaultDescription
Warning (days before expiry)integerNo30Warning when this many days or fewer remain until expiry
Error (days before expiry)integerNo7Critical when this many days or fewer remain until expiry
  • Enter the registered domain, not a hostname below it: example.com rather than www.example.com. Before the lookup, the check converts the domain to lowercase and removes a trailing dot.
  • If Warning (days before expiry) is lower than Error (days before expiry), the check swaps the two values before evaluation.
  • Domains are looked up one after another. Timeout (ms) applies to each domain on its own.
  • Blank entries are ignored, and leading and trailing spaces are removed.

Results

Every domain is graded on its own. The check reports the worst result across all domains.

Condition (per domain)ResultShown as
More days remain than Warning (days before expiry)OKExpiry date and days left
Warning (days before expiry) days or fewer remainWarningExpiry date and days left
Error (days before expiry) days or fewer remain, or the domain has already expiredCriticalExpiry date and days left
RDAP returns no record for the domain (HTTP 404)WarningNo RDAP record found
The RDAP record contains no expiry dateWarningRegistry does not publish an expiry date
The RDAP request fails or returns another HTTP errorErrorRDAP request failed
The RDAP request takes longer than Timeout (ms)ErrorRDAP request timed out
The RDAP response cannot be processedErrorCould not parse RDAP response
No domains configuredWarningNo domains monitored.

The check calculates the remaining days from the exact expiry time, including fractions of a day. A value exactly on a threshold already triggers that level.

Not every registry publishes an expiry date over RDAP. The check reports such domains as Warning instead of showing them as OK.

Per domain, the check reports:

  • The registration expiry date
  • The days left until expiry
  • The result and, where one applies, the reason

See also: Set up alerts for a check