Documentation ¶
Index ¶
- func AllHostsInLog(parsedLog parser.ParsedLines) mapset.Set
- func CountsAsDown(parsed parser.ParsedLine, criticals []string, tries int) bool
- func FindDownHosts(parsedLog parser.ParsedLines, criticals []string, tries int) parser.ParsedLines
- func FindHostIsUp(parsedLog parser.ParsedLines, critical parser.ParsedLine) parser.ParsedLine
- func FindOkCounterPart(parsedLog parser.ParsedLines, critical parser.ParsedLine) parser.ParsedLine
- func FindServiceIsOk(parsedLog parser.ParsedLines, critical parser.ParsedLine) parser.ParsedLine
- func HostIsDown(parsed parser.ParsedLine) bool
- func ServiceIsDown(parsed parser.ParsedLine, criticals []string) bool
- type DownTime
- type Uptime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllHostsInLog ¶
func AllHostsInLog(parsedLog parser.ParsedLines) mapset.Set
func CountsAsDown ¶
func CountsAsDown(parsed parser.ParsedLine, criticals []string, tries int) bool
func FindDownHosts ¶
func FindDownHosts(parsedLog parser.ParsedLines, criticals []string, tries int) parser.ParsedLines
func FindHostIsUp ¶
func FindHostIsUp(parsedLog parser.ParsedLines, critical parser.ParsedLine) parser.ParsedLine
func FindOkCounterPart ¶
func FindOkCounterPart(parsedLog parser.ParsedLines, critical parser.ParsedLine) parser.ParsedLine
func FindServiceIsOk ¶
func FindServiceIsOk(parsedLog parser.ParsedLines, critical parser.ParsedLine) parser.ParsedLine
func HostIsDown ¶
func HostIsDown(parsed parser.ParsedLine) bool
func ServiceIsDown ¶
func ServiceIsDown(parsed parser.ParsedLine, criticals []string) bool
Types ¶
type DownTime ¶
func FindDowntimeForHost ¶
func FindDowntimeForHost(parsedLog parser.ParsedLines, critical parser.ParsedLine) DownTime
func FindDowntimeForHosts ¶
func FindDowntimeForHosts(parsedLog parser.ParsedLines, criticals []string, tries int) []DownTime
Click to show internal directories.
Click to hide internal directories.