Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyrille-leclerc/mongodb-troubleshooter
https://github.com/cyrille-leclerc/mongodb-troubleshooter
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cyrille-leclerc/mongodb-troubleshooter
- Owner: cyrille-leclerc
- Created: 2013-11-12T22:51:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-12T23:06:42.000Z (about 11 years ago)
- Last Synced: 2024-11-09T07:53:47.423Z (2 months ago)
- Language: Java
- Size: 105 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB Troubleshooter
## Download jar
Download `mongodb-troubleshooter-1.0.0-***-jar-with-dependencies.jar`
https://repository-cyrille-leclerc.forge.cloudbees.com/snapshot/localdomain/localhost/mongodb-troubleshooter/1.0.0-SNAPSHOT/
## Tutorial
**Command line**
```
$ java -jar mongodb-troubleshooter-1.0.1-SNAPSHOT-jar-with-dependencies.jar -uri mongodb://localhost/local
```**Result**
```
host=[localhost],username=null,database=local,collection=null# MongoClient
Mongo{authority=MongoAuthority{type=Direct, serverAddresses=[localhost/127.0.0.1:27017], credentials={credentials={}}}, options=MongoOptions{description='null', connectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, maxWaitTime=120000, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, autoConnectRetry=false, maxAutoConnectRetryTime=0, slaveOk=false, readPreference=primary, dbDecoderFactory=DefaultDBDecoder.DefaultFactory, dbEncoderFactory=DefaultDBEncoder.DefaultFactory, safe=false, w=0, wtimeout=0, fsync=false, j=false, socketFactory=javax.net.DefaultSocketFactory@1181a6d, cursorFinalizerEnabled=true, writeConcern=WriteConcern { "getlasterror" : 1} / (Continue Inserting on Errors? false), alwaysUseMBeans=false}}
# Databases
* local - default database
# Database
DB: local
## Collections
* startup_log - 2 entries
```