ilo

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 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.82"},
	"pciIntegratedLightsOutRemoteInsight5": {"5", "3.01"},
	"pciIntegratedLightsOutRemoteInsight6": {"6", "1.56"},
}

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 HPE iLO 6 v1.56 Release Notes https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=sd00003963en_us HPE iLO 5 v3.01 Release Notes https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=sd00003959en_us HPE iLO 4 v2.82 Release Notes https://support.hpe.com/hpesc/public/docDisplay?docId=c03334036en_us&page=index.html

Functions

This section is empty.

Types

type Ilo

type Ilo struct {
	ModelID     int
	Model       string
	RomRevision string
}

func GetIloInformation

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

GetIloInformation retrieves the iLO's Model and Rom Revision via SNMP and returns an Ilo struct.

func (*Ilo) GetNagiosStatus

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

GetNagiosStatus validates the iLO's data against the known models in this plugin.

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