Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Need ram info

Hi

I need memory module's make and model of all the agents.
in OCS Inventory NG agent for Unix by (200 points)

5 Answers

0 votes
Sorry, can you please explain in more detail what you want to accomplish ?

Kind regards
by (25k points)
0 votes
I need to collect all my agents Ram module make and model. currently only capacity and serial number is collected.
by (200 points)
0 votes
what is "ram module make" .. did you mean the vendor ?
by (25k points)
0 votes
Yes vendor is what I need, also model number if possible
by (200 points)
0 votes

what about this mysql command ?

SELECT
    h.NAME as computername,
    m.CAPACITY as ram_size,
    m.TYPE as ram_vendor,
    m.DESCRIPTION as ram_description,
    m.SERIALNUMBER as ram_serial
FROM
    hardware h
JOIN
    memories m ON h.ID = m.HARDWARE_ID

yes i see there is no vendor

in wmic you can get this info from cmd with

wmic memorychip get devicelocator, capacity, speed, manufacturer, partnumber, serialnumber, memorytype

If there where the table manuafacturer of the memory in newer ocs-inventory versions it should work with this command, but i think this information is not inventoried and therefore not in the database

SELECT
    h.NAME as computername,
    m.CAPACITY as ram_size,
    m.TYPE as ram_type,
    m.DESCRIPTION as ram_description,
    m.MANUFACTURER as ram_manufacturer
FROM
    hardware h
JOIN
    memories m ON h.ID = m.HARDWARE_ID

ago by (25k points)
edited ago by
 
Powered by Question2Answer
...