ohgi

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2016 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const TIMEOUT_SEC = 1

Variables

This section is empty.

Functions

func DeleteAggregatesCheck added in v0.4.0

func DeleteAggregatesCheck(api *sensu.API, check string) string

func DeleteClientsClient

func DeleteClientsClient(api *sensu.API, name string) string

func DeleteEventsClientCheck

func DeleteEventsClientCheck(api *sensu.API, client string, check string) string

func DeleteSilence

func DeleteSilence(api *sensu.API, client string, check string) string

func GetAggregates added in v0.4.0

func GetAggregates(api *sensu.API, limit int, offset int) string

func GetAggregatesCheck added in v0.4.0

func GetAggregatesCheck(api *sensu.API, check string, age int) string

func GetAggregatesCheckIssued added in v0.4.0

func GetAggregatesCheckIssued(api *sensu.API, check string, issued string, summarize string, results bool) string

func GetChecks

func GetChecks(api *sensu.API) string

func GetChecksCheck

func GetChecksCheck(api *sensu.API, name string) string

func GetChecksWildcard

func GetChecksWildcard(api *sensu.API, pattern string) string

func GetClients

func GetClients(api *sensu.API, limit int, offset int) string

func GetClientsClient

func GetClientsClient(api *sensu.API, name string) string

func GetClientsHistory added in v0.3.0

func GetClientsHistory(api *sensu.API, client string) string

func GetClientsWildcard

func GetClientsWildcard(api *sensu.API, pattern string) string

func GetEvents

func GetEvents(api *sensu.API) string

func GetEventsClient

func GetEventsClient(api *sensu.API, client string) string

func GetEventsClientCheck

func GetEventsClientCheck(api *sensu.API, client string, check string) string

func GetEventsWildcard added in v0.3.2

func GetEventsWildcard(api *sensu.API, pattern string) string

func GetHealth

func GetHealth(api *sensu.API, consumers int, messages int) string

func GetInfo

func GetInfo(api *sensu.API) string

func GetResults added in v0.3.1

func GetResults(api *sensu.API) string

func GetResultsClient added in v0.3.1

func GetResultsClient(api *sensu.API, client string) string

func GetResultsClientCheck added in v0.3.1

func GetResultsClientCheck(api *sensu.API, client string, check string) string

func GetResultsWildcard added in v0.3.2

func GetResultsWildcard(api *sensu.API, pattern string) string

func GetSilence

func GetSilence(api *sensu.API) string

func Initialize added in v0.5.0

func Initialize()

func LoadConfig added in v0.1.6

func LoadConfig(path string, name string) *sensu.API

func PostClients added in v0.1.7

func PostClients(api *sensu.API, name string, address string, subscriptions []string) string

func PostRequest

func PostRequest(api *sensu.API, check string, subscribers []string) string

func PostResolve

func PostResolve(api *sensu.API, client string, check string) string

func PostSilence

func PostSilence(api *sensu.API, client string, check string, expiration string, reason string) string

func Version added in v0.1.5

func Version(version string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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