VMware Cloud Community
Narayanan_5245
Enthusiast
Enthusiast

Create Custom Alarm for VM CD/DVD ROM Connected State in vCenter

Dear Members

Could you please let me know if there any way to create custom alarm/alert based on the conditions to trigger for the VM connected with CD/DVD ROM state.

Kindly suggest alternate way to track the VM state if available for the same.

Thank you

Regards

Narayanan.

0 Kudos
3 Replies
LucD
Leadership
Leadership

What specific kind of "CD/DVD ROM state" do you mean?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Narayanan_5245
Enthusiast
Enthusiast

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.

Regards

Narayanan.

0 Kudos
LucD
Leadership
Leadership

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: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos