How do I change the default 'Chassis type' when a laptop is discovered.

fpuzon
Tera Contributor

Hi everyone,
We noticed that when Discovery runs on any laptop that the default 'Chassis type' is set to 'Docking Station', instead it should be defaulting to 'laptop'.   Does anyone know where the logic is stored for setting these values?   Any help would be greatly appreciated.  

Thanks,

Fred

4 REPLIES 4

doug_schulze
ServiceNow Employee
ServiceNow Employee

That happens in the Windows Identity probe (Hardware information sensor) in the getChassisType function.   And the way it reads we're just applying what the system tells us it is.   You might consider normalizing/transforming that field if you are not happy with the out of box result..


Hi Doug,
Thanks for your reply.   I find it odd that the system would even see it as a 'docking station' vs a laptop due to the fact that it has a Operating System listed.     At the end of the day, there's only about 5 chassis types that we care about, so eliminating some of those choices might be the route we go.



Thanks,
Fred


jake_mckenna
ServiceNow Employee
ServiceNow Employee

Another route we also point people to is managing the Computers form factor field instead. How we suggest this works is by adding a field on the model that would align with the form factor field on the cmdb_ci_computer table and be manually populated on the model to indicate "Laptop", "Desktop", etc. Once set on the model we have a business rule push the values to the CI records related to it either new or current so we can have a more consistent line of reporting on those, or even compare them to the chassis type values.




Just another thought to the topic.


doug_schulze
ServiceNow Employee
ServiceNow Employee

Fred,



Looking at the sensor it appears to be must mapping the result of Win32_SystemEnclosure.ChassisTypes to a known list based on a text match. You can change that processing by doing a value match from a text value I'd imagine..But yeah, make it work!