My OpenVZ vps had a good uptime of more than 40+ days. Suddenly, I am see that the uptime is 2 days. It seems that the server restarted or something. I checked with the provider, they said hypervisor was not down, so something else must have gone wrong.
a. How can I get any alerts if the system is going down for shutdown/ reboot? b. How can I check what caused the system to go down? This is a VPS which no one is currently accessing except myself c. Could it be that the memory limit was exhausted or something which triggered the restart?
I am running Cent OS 6 (64 bit). Please advise.