How to get an alert when your website or server goes down
Use KeyRoutines' Every … trigger with a Host reachable check over HTTP. Remember stores the last state and Remembered value is compares it, so Show banner only alerts you when the site goes down or comes back up, not every five minutes.
Steps
- 1
Check on a schedule
Add Every … with 5 minutes.
- 2
Ask the site
Add an If with Host reachable, method HTTP, and your site's address.
- 3
Up: was it down?
In the If branch, check Remembered value is siteDown on; if so, Show banner "Site is back" and Remember siteDown as off.
- 4
Down: alert once
In the Else branch, if Remembered value is siteDown is off, Show banner "Site is down" with the needs-attention tone and Remember siteDown as on.
Tips
- Any answer from the site counts as up, even an error page; it checks that the server answers, not that the page is right.
- Use the TCP method to check a game server, database or other port.
Questions
- Does it replace an uptime monitoring service?
- No. It only checks while your PC is on and online, so it's best for a personal heads-up.
- Is it free?
- Yes. Host reachable is free; sending the alert to Slack or Discord with Send webhook needs Pro.