jackburton79 / ocs-agent

Lite inventory agent (compatibile with ocsinventory-ng and glpi)
GNU General Public License v3.0
15 stars 6 forks source link

Memory inventory broken when retrieved via lshw #27

Closed jackburton79 closed 6 years ago

jackburton79 commented 6 years ago

Memory inventory is broken if retrieved from lshw output. Depending on the configuration, it will create multiple entries with size = NULL, or no entries at all.

jackburton79 commented 6 years ago

Situation has improved since 5c1e06605fabcf2631992f60f354be1004348729. There are still multiple entries in certain cases, but the memory size is correct.

jackburton79 commented 6 years ago

Fixed in 9cfb1148f2509185292885fe44be30ff08201648

trentasis commented 6 years ago

It works! Thanks

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Libre de virus. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2017-10-31 15:03 GMT+01:00 Stefano Ceccherini notifications@github.com:

Closed #27 https://github.com/jackburton79/agent/issues/27.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jackburton79/agent/issues/27#event-1318806171, or mute the thread https://github.com/notifications/unsubscribe-auth/AM316D6PN-D5T37WI0B7y_Jtg0AO6idyks5sxyiTgaJpZM4QEBY4 .