prtg_history
Retrieve historic data points for a PRTG sensor over a configurable look-back window to analyze recent performance and diagnose issues.
Instructions
[READ] Historic data points for one PRTG sensor over the recent window.
Args: sensor_id: PRTG sensor object id (objid). hours: Look-back window in hours (default 24). target: PRTG target name from config; omit for the default.
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": {
"sensor_id": "<sensor_id>"
},
"name": "prtg_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| target | No | ||
| sensor_id | Yes |