nagios

package
v0.0.0-...-3667945 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NagiosParser

type NagiosParser struct {
	MetricName  string
	DefaultTags map[string]string
}

func (*NagiosParser) Parse

func (p *NagiosParser) Parse(buf []byte) ([]telegraf.Metric, error)

func (*NagiosParser) ParseLine

func (p *NagiosParser) ParseLine(line string) (telegraf.Metric, error)

func (*NagiosParser) SetDefaultTags

func (p *NagiosParser) SetDefaultTags(tags map[string]string)

Jump to

Keyboard shortcuts

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