addBusinessRules
Define business hour rules for OpManager by specifying rule name, description, and weekly time settings to customize monitoring schedules.
Instructions
addBusinessRules
Key parameters:
description: Description about the business rule.
businessRuleName: Name of the business hour rule.
timeSettings: Time configuration from Monday to Sunday.
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": {
"host": "<host>",
"apiKey": "<apiKey>"
},
"name": "addBusinessRules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | OpManager host address (e.g., 'opmanager.example.com' or 'opmanager.example.com:8061'). Default port is 8061 (HTTPS). | |
| apiKey | Yes | OpManager API key for authentication | |
| description | No | Description about the business rule. | |
| timeSettings | No | Time configuration from Monday to Sunday. | |
| businessRuleName | No | Name of the business hour rule. |