Kernel#
The kernel
plugin gathers kernel statistics from /proc/stat. This plugin ONLY supports Linux.
- Configuration:
# Plugin to collect various Linux kernel statistics.
# This plugin ONLY supports Linux
[[inputs.kernel]]
## Essential component for nJAMS Server. Do not modify!
tags = {type="server"}
## Additional gather options
## Possible options include:
## * ksm - kernel same-page merging
# collect = []
- Example Output:
{
"fields": {
"boot_time": 1708678794,
"context_switches": 2443762408,
"entropy_avail": 256,
"interrupts": 1425312831,
"processes_forked": 1457526
},
"name": "kernel",
"tags": {
"host": "vslems01",
"id": "vslems01",
"type": "server"
},
"timestamp": 1711456060
}