linux – Is there any way to understand what type of server downtime I am facing?

I have a remote server with no physical attendance 24×7. But sometimes I have faced a downtime due to either network related issues or power outages.

But because I am sitting afar from my server I am unable to determine whether it is a loss of processing time due to power outage or is it a network related disconnection. As a result in both the cases I simply can’t do SSH into my server.

Is there a way I can figure out what type of downtime I am facing? For instance there could be an application that sends me an SMS alert in case of network downtime. But still it would need internet I guess to work..

Any suggestions would help on this.