mode

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disk

func Disk(folder, warn, crit, filterRegex string) (err error)

Disk will be called on disk mode

func DivSeries

func DivSeries(address, username, password, warning, critical, filterRegex, livestatus string, timerange int) (err error)

DivSeries calculates the div of series and measurements between now and x min

func Memory added in v0.0.2

func Memory(address, username, password, warning, critical string) (err error)

Memory will check the RSS usage

func NumSeries

func NumSeries(address, username, password, warning, critical, filterRegex string) (err error)

NumSeries checks the amount of series and measurements

func OldSeries added in v0.0.3

func OldSeries(address, database, username, password, warning, critical string, timerange int) (err error)

OldSeries will check for old series

func Ping

func Ping(address, username, password, warn, crit string) (err error)

Ping will be called on ping mode

func Query added in v0.0.5

func Query(address, database, username, password, warning, critical, query, alias string) (err error)

Query will execute the given query and evaluate the result

func ReadWrite added in v0.0.2

func ReadWrite(address, username, password, warning, critical string, timerange int) (err error)

ReadWrite checks the bytes read and written the last x minutes

Types

This section is empty.

Jump to

Keyboard shortcuts

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