Updating Manufacture/Vendor Table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2013 01:31 PM
The core_company table is being updated by Discovery but I can't seem to find what script causes this table to be updated. We'd like to prevent Discovery from adding Vendor/Manufacturers to this table. Does anyone have any suggestions on how to do that?
Thanks!
Labels:
- Labels:
-
Discovery
-
Service Mapping
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2013 06:47 PM
That is a reference when we process the OS information (in windows) to the company table..
Windows OS info Sensor..
var man = result.Win32_ComputerSystem.Manufacturer;
var mod = result.Win32_ComputerSystem.Model;
var mm = MakeAndModel.fromNames(man, mod);
current.manufacturer = mm.getManufacturerSysID();
current.model_id = mm.getModelNameSysID();
And in the unix identity (Hardware info) 'responds to probe' sensor..
if (JSUtil.notNil(tDataObj.manufacturer) || JSUtil.notNil(tDataObj.model_id)) {
var mm = MakeAndModel.fromNames(tDataObj.manufacturer, tDataObj.model_id);
ci_data.manufacturer = mm.getManufacturerSysID();
ci_data.model_id = mm.getModelNameSysID();
and if you look at a computer record then the dictionary entry for Manufacturer you will see its a reference to the core_company field...
So if you really.. really dont want to do this you would want to create another attribute on the computer record that is just a text value or reference to another u_discovery_core_company table ... But really think if that is a best course for you to take...
But that's how we are-a-doing it...Enjoy