ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
AS4000 robots show device in dedicated field in USM
AS4000 robots show device in dedicated field in USM portlet .Need this to be reflected as Host.
Solution
You would have to find something in the CM_COMPUTER_SYSTEM table that you could use to differentiate each of your devices and then?modify the override_eval_dedicated.lua script to change the dedicated field for these devices to the value you want returned.
All scripts are at the following location .C:\Program Files (x86)\Nimsoft\probes\service\discovery_server\scripts.Please read the README_LUA
One suggestion would be to code your lua script similar to the following:
Example for single device ======================== -- Find a computer systems dedicated function; if any function eval_dedicated()
if computer_system.dedicated == "Device" then if computer_system.name == "dsofr01-i128692" then return "Host" end end
if computer_system.dedicated then return computer_system.dedicated end
end
========================== You will?need to restart the discovery_server probe?for the changes to get applied.