mpsnmp

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 7 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 SNMPMetrics

type SNMPMetrics struct {
	OID     string
	Metrics mp.Metrics
}

SNMPMetrics metrics

type SNMPPlugin

type SNMPPlugin struct {
	GraphName        string
	GraphUnit        string
	Host             string
	Community        string
	Tempfile         string
	SNMPMetricsSlice []SNMPMetrics
}

SNMPPlugin mackerel plugin for snmp

func (SNMPPlugin) FetchMetrics

func (m SNMPPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (SNMPPlugin) GraphDefinition

func (m SNMPPlugin) 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