Giuseppe Iannacone Posted June 21, 2024 Posted June 21, 2024 can you please clarify which is the purpose of the "SoftwareInventory" portion of the configuration file provided for the SCCM Asset import? I'm running with success the latest version and it's not clear to me which is the impact against our instance.... is expecting to associate software asset to computer asset for example? I just see from the log the the software number retrieved for each asset is different... would it be nice to have the software information stored or linked with an asset computer
Steve G Posted June 21, 2024 Posted June 21, 2024 Hi @Giuseppe Iannacone, The utility will import these records as software inventory records against the assets, and not as software assets as these are two different things. Please see the Software Asset Management documentation for more information. Cheers, Steve
Giuseppe Iannacone Posted June 24, 2024 Author Posted June 24, 2024 @Steve G thanks for the clarification, very useful indeed
Giuseppe Iannacone Posted June 25, 2024 Author Posted June 25, 2024 @Steve G I'm receiving this error in the log file: Error creating software record:Unable to create software inventory record: A database or query error occurred while inserting the primary record data into the database. (table=h_cmdb_assets_installed_software, pk=) but this happens only for specific Computer Asset with the inventory execution
Steve Giller Posted June 25, 2024 Posted June 25, 2024 As far as I'm aware, that normally occurs when there's an error in the data, probably passing a string value into a numeric field. For example, h_record_state will show in the UI as current, active, or archived but requires a value (as shown in the Entity Explorer) of 0, 1, or 2
Giuseppe Iannacone Posted June 25, 2024 Author Posted June 25, 2024 @Steve Giller thanks for the feedback, how I can understand it better? is there a way to enable the debug mode for the log of the asset import?
Steve Giller Posted June 25, 2024 Posted June 25, 2024 You're already using debug mode, without that the [DEBUG] entries would not be in the log. For understanding the input requirements the best method is to review the Entity Explorer in Service Manager (https://live.hornbill.com/[INSTANCE_ID]/admin/app/com.hornbill.servicemanager/advanced/entity-explorer) which lists the data types for all columns under the Database Schema Viewer dropdown, and where the values are representative numbers these are specified. For example:
Giuseppe Iannacone Posted June 25, 2024 Author Posted June 25, 2024 @Steve Giller I appreciate this insight, but as far as I understand it seems that the import tool is trying to add a record without collecting the right data for a small subset of software discovered, or am I wrong?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now