Skip Navigation LinksALVAO 11.2 / Admin guide / Asset Management / Automatic object type change
Automatic object type change
Alvao can automatically change the object type of the discovered or imported objects (e.g. new computers created by the Agent, new imported devices from MS Intune, etc.). The object type change could be based on:
- Detected enclosure type (AM Agent)
- Hostname
- Device model
Object type can be changed only if all the following conditions are met:
- The object was created by the system identity (Alvao System).
- The object type was not changed manually.
- The object is in on of defined folders (see below – option “FolderNodeIdList“).
Installation
- Download the AutomaticObjectTypeChange.zip and unzip the AutomaticObjectTypeChange.xml file.
- Go to Administration – Applications, import the unzipped XML file and enable the application.
- Go to Administration – Settings – Advanced page where you can configure the settings in the following table:
Setting name |
Sample value |
Description |
AutomaticObjectTypeChange.FolderNodeIdList |
547,1456,325 |
Comma separated list of Node IDs of the folders, where the app can automatically change the object type.
By default the Imported objects folder is used.
Empty value means the app can operate anywhere in the object tree.
|
AutomaticObjectTypeChange.ChassisTypesMap |
{
"8": "Computer/laptop",
"9": "Computer/laptop",
"10": "Computer/laptop",
"11": "Computer/laptop",
"31": "Computer/laptop",
"17": "Computer/server",
"23": "Computer/server"
}
|
Chassis type to object type map.
- First number is the Win32_SystemEnclosure.ChassisTypes property value.
- Second value is the object type name.
This map is applied only when there are HW detection data from Agent available for the given computer object.
For unlisted chassis types, the default object template for the "Computer/desktop" object type is used. To apply the maps bellow this setting to objects with HW detection data from Agent, clear this setting.
Default settings:
- Portable (8), Laptop (9), Notebook (10), Hand Held (11), Convertible (31) -> Computer/laptop
- Main System Chassis (17), Rack Mount Chassis (23) -> Computer/server
Tip:
You may find the Win32_SystemEnclosure.ChassisTypes text value of a particular object in its Case kind object property. If the object doesn’t contain this property, add it to any object template of the given object type.
|
AutomaticObjectTypeChange.HostnameRegExMap |
{
"^ntb": "Computer/laptop",
"^desktop": "Computer/desktop",
"^server": "Computer/server",
"^virtual": "Computer/virtual machine"
} |
Hostname Regex pattern to object type map.
The first value is a Regex pattern of device hostnames. The second value is the target object type name.
Default settings:
- "^ntb" -> Computer/laptop
- "^desktop" -> Computer/desktop
- "^server" -> Computer/server
- "^virtual" -> Computer/virtual machine
|
AutomaticObjectTypeChange.ModelRegExMap |
{
"latitude": "Computer/laptop",
"hp probook": "Computer/laptop",
"hp prodesk": "Computer/desktop",
"hp elitedesk": "Computer/desktop",
"optiplex": "Computer/desktop",
"workstation": "Computer/desktop",
"vmware": "Computer/virtual machine",
"virtualbox": "Computer/virtual machine",
"proliant": "Computer/server",
"poweredge": "Computer/server",
"ipad": "Tablet"
} |
Device model Regex pattern to object type map.
The first value is a Regex pattern of device model. The second value is the target object type name.
Default settings:
- "latitude", "hp probook" -> Computer/laptop
- "hp prodesk", "hp elitedesk", "optiplex", "workstation" -> Computer/desktop
- "vmware", "virtualbx" -> Computer/virtual machine
- "proliant" , "poweredge" -> Computer/server
- "ipad" -> Tablet
|
The rules are evaluated in the order in which they appear in the table. The first match is applied.
Did not find what you were looking for? Ask our technical support team.