Older AMI-BMC Inspur onekeylog archives (NF5466M5 / NF5280M5 generation)
opened to an empty result: they carry none of the files the inspur parser
keys on (no asset.json, devicefrusdr.log, selelist.csv or component.log).
New package internal/parser/vendors/inspur_legacy (vendor id inspur_legacy),
separate from inspur:
- binary IPMI FRU decode (FRU.bin) -> board identity
- Inspur_AssetInfoInventory.log -> CPU / memory / PCIe / PSU inventory
- events from Inspur_<model>_<serial>_IDL, sel.log, blackbox.log,
MegaRAID raid0.log, and the flat AMI <severity>.log files
- no live sensors in this archive class -> recorded as a collection error
- BMC clock timestamps before 2010 dropped as un-set (1970 / ~2005 RTC)
Registry: add optional PrioritizedParser { DetectPriority() int } so a
confidence tie is broken by specificity. inspur_legacy returns 10 and also
declines (Detect 0) when modern Kaytus markers are present, so the two
Inspur parsers never fight over a newer dump.
Docs: ADL-065, 06-parsers.md, releases/v1.32.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017VL8wLGD6Lnp6hZCpqT6cZ
27 lines
1.3 KiB
Go
27 lines
1.3 KiB
Go
// Package vendors imports all vendor parser modules
|
|
// Add new vendor imports here to register them
|
|
package vendors
|
|
|
|
import (
|
|
// Import vendor modules to trigger their init() registration
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/dell"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/easy_bee"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/h3c"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/hpe_ilo_ahs"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/inspur"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/inspur_legacy"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/lenovo_xcc"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/nvidia"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/nvidia_bug_report"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/redfishwalk"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/unraid"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/xfusion"
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/xigmanas"
|
|
|
|
// Generic fallback parser (must be last for lowest priority)
|
|
_ "git.mchus.pro/mchus/logpile/internal/parser/vendors/generic"
|
|
// Future vendors:
|
|
// _ "git.mchus.pro/mchus/logpile/internal/parser/vendors/hpe"
|
|
// _ "git.mchus.pro/mchus/logpile/internal/parser/vendors/lenovo"
|
|
)
|