Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

<img src="https://raw.githubusercontent.com/AndreiD/SlackUptimeMonitor/master/slackmonitor.JPG" alt="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
~~~~
Expand All @@ -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

Expand All @@ -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

Expand Down