parsing of dmidecode fails on SMBIOS warning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Fix Released
|
Medium
|
mortheres |
Bug Description
If SMBIOS 2.7 is present, the dmidecode utility adds warning in the form of comments to the output which are included in fields like serial number and bios version.
Warning free output from dmidecode:
# dmidecode 2.10
SMBIOS 2.6 present.
78 structures occupying 4581 bytes.
Table at 0xBF49C000.
Handle 0xDA00, DMI type 218, 11 bytes
...
With the warning comments:
# dmidecode 2.10
SMBIOS 2.7 present.
# SMBIOS implementations newer than version 2.6 are not
# fully supported by this version of dmidecode.
55 structures occupying 2703 bytes.
Table at 0x000E66D0.
Handle 0x002C, DMI type 218, 11 bytes
...
This appears in the systems table like:
http2.mtl 2011-10-27 08:34:51 http2 CentOS release 5.6 (Final) 16041 3400 # SMBIOS implementations newer than version 2.6 are not # fully supported by this version of dmidecode. 7XXG8Z5 # SMBIOS implementations newer than version 2.6 are not # fully supported by this version of dmidecode. 1.1.1
Changed in ocsinventory-unix-agent: | |
assignee: | nobody → mortheres (mortheres) |
Changed in ocsinventory-unix-agent: | |
milestone: | none → 2.1rc1 |
Changed in ocsinventory-unix-agent: | |
status: | Fix Committed → Fix Released |
Hi,
Thanks a lot for your report. Since I cannot reproduce the problem for the moment, I will need you to give me some informations:
- OCS Unix agent version
- Operating system on which the problem occurs (CentOS right ?)
- An example of data and the fields on which the problem occurs (memory, bios etc...)
Thanks a lot in advance.
Kind regards,
Guillaume