vkuznet/mongo_monitor
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The mongo_monitor helps developers/admins to monitor MongoDB activity via web interface. The idea is insipred by awstat, mongostat, protovis tools. All interface is written in Python and depends on python, pymongo driver, CherryPy (python web framework) and protovis (http://vis.stanford.edu/protovis/) JavaScript graphics library. INSTALLATION: ------------ Install CherryPy on your system. Download mongo_monitor.py python script, make it executable, e.g. chmod +x mongo_monitor.py. Download protovis library and place it into the same directory as mongo_monitor.py or define JSPATH in your environment pointing to location of protovis library, e.g. export JSPATH=/path/protovis-3.2 LICENSE: -------- The tool is licensed under GPL license. USAGE: ----- This step is very simple, just run ./mongo_monitor.py You can provide optional --uri parameter to specify the location of your MongoDB. For more options see ./mongo_monitor.py --help Please note, the tool will create mongodb.stats collection in your MongoDB and will accumulate statistics over there (we suppose you will run this tool for some time). The statistics information is generated by db.command( { "serverStatus" : 1 } ). The data will be plotted on web UI by protovis library.
About
Simple web interface (server) to monitor MongoDB activity and create set of standard plots (a la awstat)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published