raven

package
v0.0.0-...-7ca3d0b Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEntry

func AddEntry(n string, kv ravenTypes.Kwargs)

func BuildSchedule

func BuildSchedule()

loops though the checks looking for hosts

func DumpSchedule

func DumpSchedule()

prints the schedule not preaty but it's debugging

func DumpStorage

func DumpStorage()

func GetCheckEntry

func GetCheckEntry(c string) *ravenTypes.CheckEntry

func GetHostEntry

func GetHostEntry(c string) *ravenTypes.HostEntry

func ListCheckHosts

func ListCheckHosts(c string) []string

func ListChecks

func ListChecks() []string

func ReadConfig

func ReadConfig(iniFile string)

func StartSchedule

func StartSchedule(work int)

Starts up the scheduler, and workers

func StartWebserver

func StartWebserver(port string)

Types

type DataType

type DataType struct {
	Now       string
	HostCnt   int
	CheckCnt  int
	StatusCnt int
	States    [4]int
	Data      interface{}
}

type TemplateConfig

type TemplateConfig struct {
	TemplateLayoutPath  string
	TemplateIncludePath string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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