What specific kind of "CD/DVD ROM state" do you mean?Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
Thanks LuCD for the reply and response. i want to create an custom alarm in vCenter if any of the VMs configured with CD/DVD ROM device connected in state.
The reason is the few of them leaving the VMs with ISO image connected in CD/DVD drive and causing VMs lead to hang during the network connection issue of NFS or datastore issue.
To overcome the issue, it would be good to alert if any of the VMs in the vCenter configured with CD/DVD drive with Connected state.
I checked if the latest vSPhere version had any changes, but I'm afraid with the available API methods this not really possible.
One can create an alarm that will fire when 'any' configuration change is made to a VM, but none specific for having an ISO mounted.
There is currently, afaik, no way to define such an alarm.Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz