I am looking through the Tasks & Events for the Datacenter, the Cluster, the Hosts, and the Virtual Machines, but I don't see any logs in the "Tasks" or "Events" for if/when a virtual machine is shutdown or started up via the machine. It logs if I shutdown/startup using vCenter, but I was wondering if there was a way I could log shutdown/startup events that are triggered from the virtual machine.
you are probably better off hitting the vm's event logs itself.
you could setup alarams for the vm when its powered on or off.
not ideal but can work.
By "hitting the vm's event logs", do you mean going through the "Tasks and Events" tab for the virtual machine? 'cause that just filters the vCenter events for that machine and not the actual VM events. I'm not sure what other logs to check on vCenter to see this info.
I appreciate the idea, but I don't want to be alerted every time the system goes up or down.
mhsi wrote:
By "hitting the vm's event logs", do you mean going through the "Tasks and Events" tab for the virtual machine? 'cause that just filters the vCenter events for that machine and not the actual VM events. I'm not sure what other logs to check on vCenter to see this info.
I appreciate the idea, but I don't want to be alerted every time the system goes up or down.
I mean monitioring the vm's event logs, in windows.
there is software to do that or you can run a powershell script that hits the event log every day for ID 6005
Hi
Welcome to the communities.
On event viewer please check if any event id number 6005 & 6006 .
6005 indicate start up & 6 indicate shutdown.