2017 © Pedro Peláez
 

library uptyme

CLI-based script to verify websites are up.

image

gigasavvy/uptyme

CLI-based script to verify websites are up.

  • Monday, June 19, 2017
  • by samrap
  • Repository
  • 2 Watchers
  • 1 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Uptyme Checker

Uptyme is a PHP CLI script to verify the uptime of websites., (*1)

Why is it spelled Uptyme, you code hipster?

uptime is a Linux command for checking system uptime. We obviously could not use this name!, (*2)

Installation

composer global require gigasavvy/uptyme

Usage

Uptyme should be run from the command line and can be used in various ways., (*3)

Basic Checking

To check that a single website is up, use the following command:, (*4)

$ uptyme run https://gigasavvy.com
Checking HTTPS integrity of the given domains...
Checker completed with 0 failed domains.

To check that multiple websites are up, simply pass additional domains as arguments:, (*5)

$ uptyme run https://gigasavvy.com https://google.com https://php.net
Checking HTTPS integrity of the given domains...
Checker completed with 0 failed domains.

Logging

To enable a log (useful for cron-based running), pass the log file to the --log option:, (*6)

$ uptyme run https://gigasavvy.com --log /var/log/uptyme.log
Checking HTTPS integrity of the given domains...
Checker completed with 0 failed domains.
Check logs for more info (/var/log/uptyme.log)

Slack Integration

For any failed websites, you can be alerted via Slack by passing your Slack webhook url to the --slack option:, (*7)

$ uptyme run https://foo.bar --slack https://hooks.slack.com/services/123/456
Checking HTTPS integrity of the given domains...
Checker completed with 1 failed domains.
Failed domains:
https://foo.bar

As we can see, the site https://foo.bar failed to connect. By passing the --slack option, your Slack channel will also be notified., (*8)

The Versions

19/06 2017

dev-master

9999999-dev

CLI-based script to verify websites are up.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sam Rapaport

19/06 2017

v0.1.3

0.1.3.0

CLI-based script to verify websites are up.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sam Rapaport

18/06 2017

v0.1.2

0.1.2.0

CLI-based script to verify websites are up.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sam Rapaport

18/06 2017

v0.1.1

0.1.1.0

CLI-based script to verify websites are up.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sam Rapaport

17/06 2017

v0.1.0

0.1.0.0

CLI-based script to verify websites are up.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sam Rapaport