/build/static/layout/Breadcrumb_cap_w.png

Dell Kace K1000 v6.4 - Assets - Asset Types - Device - Create Asset Field to return Custom Inventory Fields.

Does anyone knows how do I track Custom Inventory informations on an Asset Field?
For example, I have a Custom Inventory Rule that gives me Hard Drive informations and I would like to create an Asset Field to get this information.

3 Comments   [ + ] Show comments
  • Same here trying to figure out how to add SNMP properties for OID to Inventory Field Mappings I saw it in video they had more options but can't find it any where in dell kace where i can add more properties. - amatsyplyuk 8 years ago
  • What exactly are you trying to achieve, do you want to use an OID to retrieve data from an Agentless scan, or do you want to copy Inventory from an agent scan into an Asset field? - Hobbsy 8 years ago
  • I have custom items copied from the Inventory to the Assets. Here is an example of the SQL to copy the data:
    Select
    ASSET_DATA_5.FIELD_10121,
    MACHINE.BIOS_SERIAL_NUMBER
    From
    ASSET Inner Join
    MACHINE On MACHINE.ID = ASSET.MAPPED_ID Inner Join
    ASSET_DATA_5 On ASSET.ASSET_DATA_ID = ASSET_DATA_5.ID

    UPDATE
    ASSET_DATA_5.FIELD_10121,
    MACHINE.BIOS_SERIAL_NUMBER
    SET
    ASSET_DATA_5.FIELD_10121 = MACHINE.BIOS_SERIAL_NUMBER

    *NOTE*
    Note that you will need to identify the DB value for the fields you create in your Asset, so that the SQL can be updated with the data. - bstutz 8 years ago

Answers (1)

Posted by: Hobbsy 8 years ago
Red Belt
0
So as a combination of the comments above, if you have a custom inventory field that populates the data you require into the inventory tables.

Create the asset field within the Asset type, I am assuming it is a Device Asset

Next take note of the Asset field name (shown below in Yellow) and the custom inventory name (shown below in Orange)

Then use the code provided above by bstutz to copy the data across, within a scheduled ticket rule if you want it to be regularly updated or just run it once to populate the asset table once.

Select
ASSET_DATA_5.FIELD_10121,
MACHINE.BIOS_SERIAL_NUMBER
From
ASSET Inner Join
MACHINE On MACHINE.ID = ASSET.MAPPED_ID Inner Join
ASSET_DATA_5 On ASSET.ASSET_DATA_ID = ASSET_DATA_5.ID

UPDATE 
ASSET_DATA_5.FIELD_10121, 
MACHINE.BIOS_SERIAL_NUMBER
SET 
ASSET_DATA_5.FIELD_10121 = MACHINE.BIOS_SERIAL_NUMBER

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ