create_alert_rule
ActiveTool of BorealHost
Create an alert rule to monitor CPU, memory, or disk usage. When the metric crosses the threshold, a notification is sent via email and/or webhook. Max 10 rules per site. Requires: API key with write scope. Args: slug: Site identifier metric: "cpu", "memory", or "disk" (percentage-based) threshold: Threshold value 0-100 (e.g. 90 for 90%) operator: "gt" (greater than) or "lt" (less than). Default: "gt" severity: "warning" or "critical". Default: "warning" cooldown_minutes: Min minutes between repeated alerts. Default: 30 notify_email: Send email notification. Default: true notify_webhook: Optional webhook URL for POST notifications Returns: {"id": "uuid", "metric": "disk", "threshold": 90, ...}
Parameters schema
{
"type": "object",
"title": "create_alert_ruleArguments",
"required": [
"slug",
"metric",
"threshold"
],
"properties": {
"slug": {
"type": "string",
"title": "Slug"
},
"metric": {
"type": "string",
"title": "Metric"
},
"operator": {
"type": "string",
"title": "Operator",
"default": "gt"
},
"severity": {
"type": "string",
"title": "Severity",
"default": "warning"
},
"threshold": {
"type": "number",
"title": "Threshold"
},
"notify_email": {
"type": "boolean",
"title": "Notify Email",
"default": true
},
"notify_webhook": {
"type": "string",
"title": "Notify Webhook",
"default": ""
},
"cooldown_minutes": {
"type": "integer",
"title": "Cooldown Minutes",
"default": 30
}
}
}Parent server
BorealHost
https://github.com/alainsvrd/borealhost-mcp
1/7 registries