Documentation

Linux Sysctl Filesystem Input Plugin

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

Introduced in: Telegraf v1.24.0 Tags: system OS support: 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

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

New in InfluxDB 3.4

Key enhancements in InfluxDB 3.4 and the InfluxDB 3 Explorer 1.2.

See the Blog Post

InfluxDB 3.4 is now available for both Core and Enterprise, which introduces offline token generation for use in automated deployments and configurable license type selection that lets you bypass the interactive license prompt. InfluxDB 3 Explorer 1.2 is also available, which includes InfluxDB cache management and other new features.

For more information, check out: