Discovery is not finding the Chassis type for CI's in the cmdb_ci_computer table all values for this field are blank or show up as (Empty)

Casey_Walgren
Kilo Explorer

I need to differentiate company laptops from desktops or servers..etc. After looking at many support articles, it looks like the best way to do this is using the chassis field that comes out of the box. However, every chassis field in my instance is either blank or (Empty). I know this is supposed to be found through discovery, so I looked at one of our windows probes and see this:

if (JSUtil.notNil(output.Win32_SystemEnclosure.ChassisTypes))
related_data.chassis_type = this.getChassisType(output.Win32_SystemEnclosure.ChassisTypes);
},

getChassisType: function(index) {
var types = ["Other", "Unknown", "Desktop", "Low Profile Desktop", "Pizza Box",
"Mini Tower", "Tower", "Portable", "Laptop", "Notebook", "Hand Held",
"Docking Station", "All in One", "Sub Notebook", "Space-Saving",
"Lunch Box", "Main System Chassis", "Expansion Chassis", "SubChassis",
"Bus Expansion Chassis", "Peripheral Chassis", "Storage Chassis",
"Rack Mount Chassis", "Sealed-Case PC"];
return types[index - 1];

 

One thing to note - the discovery source for most of these CI's is IN-Tune - Not sure if that is why the chassis field is not being populated, any help would be appreciated!

1 REPLY 1

Anshu_Anand_
Kilo Sage
Kilo Sage

I had same issue but after switching to pattern based discovery , chassis type started getting discovered for all my CIs. Example the windows server pattern has a step which filter out this

I don't have any idea of IN-tune.

Hope this is helpful

Serial number & chassis type from Win32_SystemEnclosure
find_real_file.png


Regards,
Anshu