plugins

package
v0.0.0-...-0ea33d4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUPlugin

type CPUPlugin struct{}

func (CPUPlugin) Fetch

func (p CPUPlugin) Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)

type DiskPlugin

type DiskPlugin struct{}

func (DiskPlugin) Fetch

func (p DiskPlugin) Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)

type LoadPlugin

type LoadPlugin struct{}

func (LoadPlugin) Fetch

func (p LoadPlugin) Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)

type MemoryPlugin

type MemoryPlugin struct{}

func (MemoryPlugin) Fetch

func (p MemoryPlugin) Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)

type NetworkPlugin

type NetworkPlugin struct{}

func (NetworkPlugin) Fetch

func (p NetworkPlugin) Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)

type Plugin

type Plugin interface {
	Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)
}

Plugin defines a SNMP receiver

type SystemPlugin

type SystemPlugin struct{}

func (SystemPlugin) Fetch

func (p SystemPlugin) Fetch(snmp *gosnmp.GoSNMP) (map[string]float64, error)

Jump to

Keyboard shortcuts

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