From dba7fc4cb229b76c2fd725b4fd93e9f3026dc612 Mon Sep 17 00:00:00 2001 From: Nitesh2503 <72183768+Nitesh2503@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:33:25 +0530 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 04e0799..d6a67bd 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ slack website up down notifier uptime ping -#### A simple, one file script that notifies you on slack when your website is down. +#### A simple, one file script that notifies you on slack when your website is down -## Configuration +## Configurations ### Step 1 - Get the script -Simply copy paste the script uptimemonitor.py into your server. After you test it add it to cron with your preferred check interval +Simply copy paste the script uptimemonitor.py into your server. After you test it, add it to cron with your preferred check interval Example for checks every minute ~~~~ @@ -19,7 +19,7 @@ $service cron restart $tail -f /root/uptimenotifier.log ~~~~ -Note that the script is written in Python3.5. +Note that the script is written in Python3.5 ### Step 2 - Setup the config variables @@ -38,7 +38,7 @@ export SLACK_TOKEN = 'your_token_here' SLACK_TOKEN = os.environ.get('SLACK_TOKEN') -#### Where you want to receive your notifications ? +#### Where you want to receive your notifications? you can get it using list_channels and channel_info or click on the channel name