temp

package
v1.0.0-...-47f3d97 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 5 Imported by: 0

README

Temp Input plugin

The temp input plugin gather metrics on system temperature. This plugin is meant to be multi platform and uses platform specific collection methods.

Currently supports Linux and Windows.

Configuration:
[[inputs.temp]]
Metrics:
  • temp
    • tags:
      • sensor
    • fields:
      • temp (float, celcius)
Example Output:
temp,sensor=coretemp_physicalid0_crit temp=100 1531298763000000000
temp,sensor=coretemp_physicalid0_critalarm temp=0 1531298763000000000
temp,sensor=coretemp_physicalid0_input temp=100 1531298763000000000
temp,sensor=coretemp_physicalid0_max temp=100 1531298763000000000

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Temperature

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

func (*Temperature) Description

func (t *Temperature) Description() string

func (*Temperature) Gather

func (t *Temperature) Gather(acc telegraf.Accumulator) error

func (*Temperature) SampleConfig

func (t *Temperature) SampleConfig() string

Jump to

Keyboard shortcuts

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