This endpoint creates a new service monitor.

Body

name
string
required

A descriptive name for the service monitor (e.g., “Production Database”).

host
string
required

The hostname or IP address of the service to monitor.

port
integer
required

The port number to check (e.g., 3306 for MySQL).

check_interval
integer

The interval in minutes between checks. Defaults to 5.