sensu

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

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

Go to latest
Published: Jun 28, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SensuCheckResult

type SensuCheckResult struct {
	Source      string  `json:"source"`      // Source (ussally server name $HOSTNAME)
	Name        string  `json:"name"`        // unique check name
	Output      string  `json:"output"`      // error text or OK
	Status      int     `json:"status"`      // 0 - if OK, else 2
	Duration    float64 `json:"duration"`    // check time duration
	Occurrences int     `json:"occurrences"` // Check time before alerting. Default 3
}

Jump to

Keyboard shortcuts

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