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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 12:41 PM
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!
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2022 01:49 AM
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
Anshu