How to track website downtime/uptime

Does Piwik track website downtime/uptime, if so how we can check on dashboard, kindly suggest.

I don’t think Piwik can do that because it relies on Javascript.

If the website is down, no Javascript can be executed (because the website cannot be loaded).

You should have a look at tools like instead.