telegraf/plugins/inputs/linux_sysctl_fs
Sven Rebhan 798f683805
docs(inputs): Add plugin metadata and update description for j* to m* (#16593)
Co-authored-by: Maya Strandboge <136023093+mstrandboge@users.noreply.github.com>
2025-03-24 16:38:42 +01:00
..
README.md docs(inputs): Add plugin metadata and update description for j* to m* (#16593) 2025-03-24 16:38:42 +01:00
linux_sysctl_fs.go chore: Fix linter findings for `revive:exported` in `plugins/inputs/l*` (#16167) 2024-11-12 11:26:23 -06:00
linux_sysctl_fs_test.go chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
sample.conf chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00

README.md

Linux Sysctl Filesystem Input Plugin

This plugin gathers metrics by reading the system filesystem files on Linux systems.

Telegraf v1.24.0 🏷️ system 💻 linux

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Provides Linux sysctl fs metrics
[[inputs.linux_sysctl_fs]]
  # no configuration

Metrics

linux_sysctl_fs metric:

  • tags: none
  • fields:
    • aio-max-nr (unsigned integer)
    • aio-nr (unsigned integer)
    • dentry-age-limit (unsigned integer)
    • dentry-nr (unsigned integer)
    • dentry-unused-nr (unsigned integer)
    • dentry-want-pages (unsigned integer)
    • dquot-max (unsigned integer)
    • dquot-nr (unsigned integer)
    • inode-free-nr (unsigned integer)
    • inode-nr (unsigned integer)
    • inode-preshrink-nr (unsigned integer)
    • super-max (unsigned integer)
    • super-nr (unsigned integer)
    • file-max (unsigned integer)
    • file-nr (unsigned integer)

Example Output

> linux_sysctl_fs,host=foo dentry-want-pages=0i,file-max=44222i,aio-max-nr=65536i,inode-preshrink-nr=0i,dentry-nr=64340i,dentry-unused-nr=55274i,file-nr=1568i,aio-nr=0i,inode-nr=35952i,inode-free-nr=12957i,dentry-age-limit=45i 1490982022000000000