linux_sysctl_fs

package
v1.40.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 9 Imported by: 11 modules, 18 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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

Plugins support additional global and plugin configuration settings for tasks such as modifying metrics, tags, and fields, creating aliases, and configuring plugin ordering. See 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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SysctlFS

type SysctlFS struct {
	// contains filtered or unexported fields
}

func (*SysctlFS) Gather

func (sfs *SysctlFS) Gather(acc telegraf.Accumulator) error

func (*SysctlFS) SampleConfig

func (*SysctlFS) SampleConfig() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL