monitoring

package
v0.0.0-...-52d3920 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Check() (Status, err)
}

type Monitor

type Monitor struct {
	Conf  map[string]interface{}
	Check Checker
}

type StandardChecker

type StandardChecker struct {
	URL      string
	Interval int32
}

SNMP

func (*StandardChecker) Check

func (s *StandardChecker) Check()

type Status

type Status struct {
	T     string // status type, e.g.: cpu,in,out,write,read
	Time  time.Time
	Value string
}

Jump to

Keyboard shortcuts

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