Set Monitor Active
setMonitorActivePauses or resumes a monitor by ID, stopping checks and alerts while preserving configuration and history, or restarting checks immediately.
Instructions
Pauses (active: false) or resumes (active: true) a monitor. A paused monitor stops checking, recording heartbeats and alerting; its configuration and history are kept, and resuming restarts checks at once. Setting the state it already has changes nothing. For planned downtime on a schedule use createMaintenanceWindow instead; setMaintenanceWindowActive acts on a maintenance window, not a monitor. Find the ID with listMonitors.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"monitorID": "<monitorID>",
"active": "<active>"
},
"name": "setMonitorActive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | false pauses the monitor, true resumes it | |
| monitorID | Yes | The ID of the monitor to pause or resume |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No | ||
| active | Yes | ||
| monitorID | Yes |