Swap#
The swap
plugin gathers metrics about swap memory usage. This plugin ONLY supports Linux.
- Configuration:
# Read metrics about swap memory usage
# This plugin ONLY supports Linux
[[inputs.swap]]
## Essential component for nJAMS Server. Do not modify!
tags = {type="server"}
- Example Output:
{
"fields": {
"free": 1715331072i,
"total": 20855394304i,
"used": 9476448256i,
"used_percent": 43883523785713
},
"name": "swap",
"tags": {
"host": "vslems01",
"id": "vslems01",
"type": "server"
},
"timestamp": 1711456060
}