Skip to content

akira-kurogane/mongo-log-collector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project contains scripts that can be used to automatically find all the mongodb nodes in a cluster or replica set, and then fetch their log files to a single location. In other words it is a convenient tool for mongodb diagnostic work.

The ssh_fetch_mongodb_logs.sh script requires SSH access to all the servers that the mongodb nodes reside on. This script has no use without password-less SSH to all the hosts the mongodb nodes are on. The ssh access could be setup permanently by using keypair management, or just enabled temporarily using sshpass.

ssh_fetch_mongodb_logs.sh usage

Quickstart

./ssh_fetch_mongodb_logs.sh mongos_host1:27017

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 63.6%
  • JavaScript 36.4%