linux_sysctl_fs

package
v0.0.0-...-16a0e24 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 7 Imported by: 0

README

Linux Sysctl FS Input

The linux_sysctl_fs input provides Linux system level file metrics. The documentation on these fields can be found at https://www.kernel.org/doc/Documentation/sysctl/fs.txt.

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

func GetHostProc

func GetHostProc() string

Types

type SysctlFS

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

https://www.kernel.org/doc/Documentation/sysctl/fs.txt

func (SysctlFS) Description

func (_ SysctlFS) Description() string

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