sysmon/plugins/os-base
Mark Nellemann ba0313f84a Update doc/instructions.
Update example dashboards.
Add more processes to default list.
2022-09-19 14:15:48 +02:00
..
src Update doc/instructions. 2022-09-19 14:15:48 +02:00
build.gradle Work on base/common metrics. 2021-05-28 15:52:33 +02:00
gradle.properties Ansible playbook for easy install on AIX, and dependency updates. 2021-08-23 11:07:07 +02:00
README.md Misc. small changes. 2022-01-11 11:23:06 +01:00

Base Plugin

The base plugin uses the oshi library to get it's metrics.

Processor Extension

Reports the following metrics seen:

  • system -CPU time spend on system processes.
  • user - CPU time spend on user processes.
  • nice - CPU time spend on user processes running at lower priority.
  • iowait - CPU time spend waiting (for i/o).
  • steal - CPU time stolen by hypervisor and given to other virtual systems.
  • irq - CPU time spend by kernel on interrupt requests.
  • softirq - CPU time spend by kernel on soft interrupt requests.
  • idle - CPU time spend idling (doing nothing).
  • busy - CPU time spend working.

Memory Extension

Reports the following metrics (in bytes):

  • available - Estimation of how much memory is available for starting new applications, without swapping.
  • total - The total amount of (installed) memory.
  • usage - Percentage of memory used out of the total amount of memory.
  • paged - ...
  • virtual - ...

Disk Extension

Metrics reported are:

  • reads - The total number of bytes read.
  • writes - The total number of bytes written.
  • iotime - Time spent on IO in milliseconds.
  • queue - Lenght of IO queue.

Filesystem Extension

Metrics

  • free_bytes - Free bytes for filesystem.
  • total_bytes - Total bytes for filesystem.
  • free_inoed - Free inodes for filesystem.
  • total_inodes - Total inodes for filesystem.

Configuration

[extension.base_filesystem]
enabled = true
exclude_type = [ "tmpfs", "ahafs" ]
exclude_mount = [ "/boot/efi" ]

Process Extension

Reports metrics on one or more running processes.

  • mem_rss - Resident set memory in bytes.
  • mem_vsz - Virtual memory in bytes.
  • kernel_time - Time spent (in milliseconds) in kernel space.
  • user_time - Time used (in milliseconds) in user space.
  • read_bytes - Bytes read by process.
  • write_bytes - Bytes written by process.
  • files - Files currently open by process.
  • threads - Running threads.
  • user - User running the process.
  • group - Group running the process
  • prio - Process priority.

Configuration

The include option let's you specify what processes to report for.

[extension.base_process]
enabled = true # true or false
include = [ "java", "influxd", "grafana-server" ]