Virtual Machine in the CMDB

sprasad123
Kilo Explorer

Hi All,

 

How to Identify the Virtual Machine in the CMDB for Auto discovery.

I've created the script to identify Virtual machine for some server.

Please help me to color code or identify the all Physical (In green color) and Virtual (Light green Color).

 

Thanks,

Santosh

9 REPLIES 9

Does it work with the updated business rule?


Hi,



No, I've tried the updated BR, but still facing the same problem.


Please help me out.



Thanks,


Santosh


This may or may not work, but try using these lines of code



var model_name=fVMGr.model_id.name.toString().toLowerCase();




if (model_name.indexOf("integrity virtual machine") > -1)





Whenever I use indexOf(), I always try to standardize the case of the input. I've run into too much trouble when I didn't.


Hi,



Still, unable to upgrade the "IS Virtual" state is "true" for Virtual machine in cmdb database.



Thanks,


Santosh


Can you post the BR in a text file. The lack of formatting is making it extremely hard to read.