Project

url-status

0.0
No commit activity in last 3 years
No release in over 3 years
command line gem to check the http status of a list of urls
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 10.0

Runtime

 Project Readme

url-status

url-status is a gem to check the http status of a list of urls.

check a list of urls

The urls can be provided as command line options, or they can come from a config file.

# list of urls to check simply given as command line options
# if no protocol is given, http is assumed
url-status google.com https://facebook.com

# pull the urls from the config file instead
url-status --config ./site-list.yaml

The YAML file should be a simple array of the urls to check:

---
- ssrs.reednj.com
- paint.reednj.com
- popacular.com/home
- gigatweeter.com

If any of the urls fail, then the gem will return a status code of 1, allowing other action to be taken.

Installation

$ gem install url-status

License

The gem is available as open source under the terms of the MIT License.