ilo

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const OlderModels = 8

OlderModels or lower ids are too old to be safe and should be alerted

Variables

View Source
var FixedVersionMap = map[string]PlatformInfo{
	"pciIntegratedLightsOutRemoteInsight3": {"3", "1.93"},
	"pciIntegratedLightsOutRemoteInsight4": {"4", "2.75"},
	"pciIntegratedLightsOutRemoteInsight5": {"5", "2.18"},
}

FixedVersionMap lists the version for which the platform has been fixed by generation See mib.CpqSm2CntlrModelMap - not all models are mentioned here

For vendor details see HPESBHF04012 https://support.hpe.com/hpesc/public/docDisplay?docId=hpesbhf04012en_us

Functions

func CompareVersion

func CompareVersion(required, current string) bool

Types

type Ilo

type Ilo struct {
	ModelID     int
	Model       string
	RomRevision string
}

func GetIloInformation

func GetIloInformation(client gosnmp.Handler) (ilo *Ilo, err error)

func (*Ilo) GetNagiosStatus

func (ilo *Ilo) GetNagiosStatus() (state int, output string)

type PlatformInfo

type PlatformInfo struct {
	Name         string
	FixedRelease string
}

Jump to

Keyboard shortcuts

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