[EN] Simple way to monitor websites in Linux with Slack

Mostly is very usefull to know if one or another website is down. Here is simple example to monitor your websites:

sites.txt example


Now you can add it to crontab. Type crontab -e and insert:

# ping websites every minute
* * * * * /path/to/monitor-websites.sh > /dev/null

The script use my notification function to slack. This tutorial you can find at [Tutorial] send message with linux to slack

Example of message in slack if website is offline:

slack post message example
slack post message example

2 thoughts on “[EN] Simple way to monitor websites in Linux with Slack”

  1. Im not very advanced programmer, but i found this tutorial very useful and easy to understand.

Leave a Reply

Your email address will not be published. Required fields are marked *