conntrack

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 8 Imported by: 0

README

conntrack

运维老鸟应该会遇到 conntrack table full 的报错吧,这个插件就是用于监控 conntrack 的情况,forked from telegraf/conntrack

Measurements & Fields

  • conntrack
    • ip_conntrack_count (int, count): the number of entries in the conntrack table
    • ip_conntrack_max (int, size): the max capacity of the conntrack table

告警

可以配置一条这样的告警规则 conntrack_ip_conntrack_count / ip_conntrack_max > 0.8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conntrack

type Conntrack struct {
	config.PluginConfig
	Dirs  []string `toml:"dirs"`
	Files []string `toml:"files"`
	Quiet bool     `toml:"quiet"`
}

func (*Conntrack) Clone

func (c *Conntrack) Clone() inputs.Input

func (*Conntrack) Gather

func (c *Conntrack) Gather(slist *types.SampleList)

func (*Conntrack) Init

func (c *Conntrack) Init() error

func (*Conntrack) Name

func (c *Conntrack) Name() string

Jump to

Keyboard shortcuts

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