alarm

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2018 License: MIT Imports: 4 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollector

func NewCollector(alarmsFilter string) collector.RPCCollector

NewCollector creates a new collector

Types

type AlarmCounter

type AlarmCounter struct {
	YellowCount float64
	RedCount    float64
}

type AlarmDetails

type AlarmDetails struct {
	Class       string `xml:"alarm-class"`
	Description string `xml:"alarm-description"`
	Type        string `xml:"alarm-type"`
}

type AlarmRpc

type AlarmRpc struct {
	Information struct {
		Details []AlarmDetails `xml:"alarm-detail"`
	} `xml:"alarm-information"`
}

Jump to

Keyboard shortcuts

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