Centosuser.
I believe your questiona is not compete.
There is several ways to do this using third part tools.
You can use any monitoring tool with an agent installed on VM to provide alerts about VM state.
Is there any other point on your question?