Problem: System model and chassis information are not currently inventoried in Linux when using the 5.4 or 5.5 versions of the K1000 agent. It is currently slated to be added in the 6.0 release.
Solution: As a work-around, use a custom inventory field to poll client systems for system model.
Note: An additional custom inventory rule will be needed for chassis information. To do that, follow the same instructions as below, but substitute the following chassis rule for #4: ShellCommandTextReturn(dmidecode -s chassis-type)
Please note: This solution was tested on RHEL 6.3 and Ubuntu 12.04 LTS with the 5.5.22127 agent, but it should work with any of the 5.4/5.5 agents and any version of Linux that the K1000 supports.
Steps to create a custom inventory field for the system model:
1. Navigate to Inventory>Software>Choose Action>Add New Item
2. Name the custom inventory rule and describe as needed. A best practice suggestion would be to use "CIR" as a prefix so that custom inventory rules are readily identifiable. Please see the screenshot below for an example of how steps 2 through 4 should look.
3. Add any supported operating systems that this rule needs to run on.
4. Under Custom Inventory Rule, enter the following rule: ShellCommandTextReturn(dmidecode -s system-product-name)
5. Add Metadata if required, and click Save.
Now, once the Linux machine checks in and runs an inventory, the system model number will be displayed under Software>Custom Inventory Fields on the computer's inventory page.
Please note: During testing, inventory can be forced from the client or from it's K1000 inventory page to speed up testing of the custom inventory field: http://www.kace.com/support/resources/kb/article/how-to-force-a-client-check-in-outside-the-normal-run-interval
Comments