memory_usage
Check memory usage on a Linux server to detect low-memory conditions and get warning or critical severity with recommendations.
Instructions
Report memory usage on a Linux server, with a warning/critical severity and recommendation when memory is running low.
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": {
"server": "<server>"
},
"name": "memory_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | the inventory server name to check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | ||
| status | Yes | ||
| used_kb | Yes | ||
| total_kb | Yes | ||
| timestamp | Yes | ||
| available_kb | Yes | ||
| swap_free_kb | Yes | ||
| used_percent | Yes | ||
| swap_total_kb | Yes | ||
| recommendation | No |