TestMonitor
Verifies monitor configuration on a network device by testing a specific policy and graph, with optional instance support for MSSQL monitors.
Instructions
TestMonitor
Category: Manage and query network devices
Key parameters:
name*: Name of the device
policyName*: Policy name of the monitor
graphName*: Graph name of the monitor.
instanceName: Instance name (only applicable for MSSQL monitors).
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": "<name>",
"policyName": "<policyName>",
"graphName": "<graphName>"
},
"name": "TestMonitor"
}
}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). | |
| name | Yes | Name of the device | |
| apiKey | Yes | OpManager API key for authentication | |
| graphName | Yes | Graph name of the monitor. | |
| policyName | Yes | Policy name of the monitor | |
| instanceName | No | Instance name (only applicable for MSSQL monitors). |