create_monitor
Create uptime monitors for HTTP, TCP, DNS, and database checks; set intervals, regions, alerts, and failure thresholds to detect outages.
Instructions
Create a monitor. type is http, tcp, dns, heartbeat, postgres, mysql or redis; target is the URL, host:port or hostname. Omitted fields take defaults (60 s interval, expect HTTP 200). regions defaults to ["auto"]; name other regions (see list_regions) to check http and tcp monitors from several places.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| type | No | http | |
| method | No | GET | |
| target | No | ||
| headers | No | ||
| keyword | No | ||
| project | No | Project id (from list_workspaces). Omit to use the default project of the workspace. | |
| regions | No | ||
| graceSec | No | ||
| timeoutMs | No | ||
| workspace | No | Workspace id (from list_workspaces). Omit to use the default one. | |
| channelIds | No | ||
| intervalSec | No | ||
| keywordMode | No | contains | |
| expectedStatus | No | ||
| slowAlertAfter | No | ||
| slowThresholdMs | No | ||
| failureThreshold | No | ||
| minRegionsFailing | No | ||
| dependsOnMonitorId | No |