0.0
No release in over 3 years
Low commit activity in last 3 years
CLI tool to get server data from various sources
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 1.10
~> 0.8
~> 5.5
~> 10.4
~> 0.8.7.6

Runtime

~> 1.7
~> 0.19
 Project Readme

Get Server Data

Gem Version Build Status Coverage Status Inline Docs

Simple command line tool that collects data about servers.

Installation

gem install get_server_data

Usage

Command dns

$ gsd dns www.google.com www.openbsd.org www.spmalloy.com
HOSTNAME         | IP             | DNS
-----------------|----------------|------
www.google.com   | 74.125.225.19  | A
www.openbsd.org  | 129.128.5.194  | A
www.spmalloy.com | 107.170.163.14 | CNAME

Command help

$ gsd help
Commands:
  gsd dns [OPTION...] HOSTNAME...   # Get information about hosts from DNS
  gsd help [COMMAND]                # Describe available commands or one specific command
  gsd ping [OPTION...] HOSTNAME...  # Get information about hosts from ICMP(ping)
  gsd tcp [OPTION...] HOSTNAME...   # Get information about a TCP port for hosts

Options:
  -f, [--format=FORMAT]          # Use FORMAT as the output format. FORMAT can be one of csv, json, or text
                                 # Default: text
  -s, [--sort], [--no-sort]      # Sort output by hostname
                                 # Default: true
  -u, [--unique], [--no-unique]  # Remove duplicate hostnames
                                 # Default: true

Command ping

$ gsd ping www.google.com www.openbsd.org www.spmalloy.com
HOSTNAME         | IP             | PING
-----------------|----------------|-----
www.google.com   | 216.58.216.68  | true
www.openbsd.org  | 129.128.5.194  | true
www.spmalloy.com | 107.170.163.14 | true

Command tcp

$ gsd tcp www.google.com www.openbsd.org www.spmalloy.com
HOSTNAME         | IP             | PORT | PORT_RESULT
-----------------|----------------|------|------------
www.google.com   | 216.58.216.68  | 22   | false
www.openbsd.org  | 129.128.5.194  | 22   | true
www.spmalloy.com | 107.170.163.14 | 22   | true

Copyright

Copyright (c) 2015 Sean Malloy. See LICENSE for further details.