starkandwayne/logemongo

Name: logemongo

Owner: Stark & Wayne

Description: CLI for Sawmill BOSH release.

Created: 2016-09-06 17:35:07.0

Updated: 2016-09-25 22:57:15.0

Pushed: 2016-10-05 18:57:49.0

Homepage:

Size: 206

Language: Perl

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

logemongo

CLI for Sawmill BOSH release.

Prerequisites

Although no additional packages need to be installed on Mac OS X, if you are using logemongo on a Linux distribution you will need to install both the IO::Socket::SSL and YAML modules:

Ubuntu

 apt-get install libio-socket-ssl-perl
 apt-get install libconfig-yaml-perl

Fedora / RHEL / CentOS

install "perl(YAML)" -y
install "perl(Data::Dumper)" -y
install "perl(IO::Socket::SSL)" -y

FIXME: Data::Dumper install only needed on Fedora but not CentOS… may not even be using this module…?

How to use

In order to target a specific Sawmill, run the following command:

mongo -H ${host} -P ${port} -u ${username} -p ${password}

By default, logemongo uses 10.244.73.2:443 as the host:port and admin:admin for the user:pass since these are the values that are used when running a local Sawmill on BOSH lite. If you are testing against a Sawmill running on BOSH lite you will also want to disable SSL with the --no-ssl flag as BOSH lite uses self-signed certificates. For a complete list options and syntax, use the -h / --help flag.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.