alarm

package
v0.0.0-...-51fd5d7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stringfy

func Stringfy(alarmType AlarmType) string

Stringfy parses the alarm type number to a human string.

Types

type AlarmType

type AlarmType uint8
const (
	// Direct is all direct alarm notifications generated by any service,
	// like RTS fetching an alarm value of a flex port and reporting the
	// alarm directly.
	Direct AlarmType = iota
	// Checked is all alarms generated by the metric data alarm check
	// process.
	Checked
	// TrapFlexLegacy is all alarms received by traps.
	TrapFlexLegacy
	// Streak is the alarm generated by an alarm streak.
	Streak
)

type Recognition

type Recognition int16
const (
	Cleared Recognition = iota
	Alarmed
	Acknowledged
)

Jump to

Keyboard shortcuts

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