Services For Device
services_for_deviceRetrieve services for a device from LibreNMS. Filter by state or service type to pinpoint warnings and critical alerts.
Instructions
Get services for a device from LibreNMS.
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": {
"hostname": "<hostname>"
},
"name": "services_for_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| state | No | Filter by state: 0=Ok, 1=Warning, 2=Critical | |
| offset | No | Number of results to skip (offset) for pagination | |
| hostname | Yes | Device hostname or ID | |
| service_type | No | Filter by service type (SQL LIKE pattern) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||