network

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 6 Imported by: 0

README

Illumos Net Input Plugin

Gathers high-level metrics about network traffic through Illumos NICs and VNICs.

Telegraf minimum version: Telegraf 1.18 Plugin minimum tested version: 1.18

Configuration
[[illumos_network]]
  ## The kstat fields you wish to emit. 'kstat -c net' will show what is collected.  Not defining
  ## any fields sends everything, which is probably not what you want.
  # fields = ["obytes64", "rbytes64"]
  ## The VNICs you wish to observe. Again, specifying none collects all.
  # vnics  = ["net0"]
  ## The zones you wish to monitor. Specifying none collects all.
  # zones = ["zone1", "zone2"]`

Omitting Fields entirely results in all metrics being sent.

Metrics
Sample Queries

The following queries are written in The Wavefront Query Language.

rate(ts("dev.telegraf.net.rbytes64", zone="global")) # bytes into your global zone
Example Output
> net,host=cube,link=rge0,name=build_net0,speed=1000mbit,zone=cube-build rbytes64=1594089398i 1619391415000000000
> net,host=cube,link=rge0,name=build_net0,speed=1000mbit,zone=cube-build obytes64=208580451i 1619391415000000000

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IllumosNetwork

type IllumosNetwork struct {
	Zones  []string
	Fields []string
	Vnics  []string
}

func (*IllumosNetwork) Description

func (s *IllumosNetwork) Description() string

func (*IllumosNetwork) Gather

func (s *IllumosNetwork) Gather(acc telegraf.Accumulator) error

func (*IllumosNetwork) SampleConfig

func (s *IllumosNetwork) SampleConfig() string

Jump to

Keyboard shortcuts

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