8000 GitHub - ewimsatt/uptimetracker: uptimetracker is a BASH website uptime tracker that sends updates to a Slack channel.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

uptimetracker is a BASH website uptime tracker that sends updates to a Slack channel.

License

Notifications You must be signed in to change notification settings

ewimsatt/uptimetracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uptimetracker

This is a purely BASH website uptime tracker. It will notify a slack channel when a site is loading slow (default is greater than 4 seconds, but you can change that), and write everything to a logfile.

To use:

  • Rename the config/uptimetracker.conf.default to config/uptimetracker.conf
  • Rename the config/sitelist.txt.default to config/sitelist.txt and add the sites you want to track to it
  • Add your slack channel webhook to the config/uptimetracker.conf
  • Add sites you want to track to config/sitelist.txt
  • Add a cron (this example is every minute):
    • * * * * * /path/to/your/uptimetracker/uptimetracker.sh >> /dev/null 2>&1

The script checks for page loadtimes and checks to see if there is a /sitemap.xml. Checking for a sitemap will confirm that MySQL is online rather than Apache serving a "Unable to connect to database" page (WordPress example.)

About

uptimetracker is a BASH website uptime tracker that sends updates to a Slack channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0