mpmunin

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 14 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type MuninMetric

type MuninMetric struct {
	Label string
	Type  string
	Draw  string
	Value string
}

MuninMetric metric of munin

type MuninPlugin

type MuninPlugin struct {
	PluginPath    string
	PluginConfDir string
	GraphTitle    string
	GraphName     string
	MuninMetrics  map[string](*MuninMetric)
}

MuninPlugin mackerel plugin for munin

func (MuninPlugin) FetchMetrics

func (p MuninPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (MuninPlugin) GraphDefinition

func (p MuninPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

Jump to

Keyboard shortcuts

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