Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkuznet/mongo_monitor
Simple web interface (server) to monitor MongoDB activity and create set of standard plots (a la awstat)
https://github.com/vkuznet/mongo_monitor
Last synced: 30 days ago
JSON representation
Simple web interface (server) to monitor MongoDB activity and create set of standard plots (a la awstat)
- Host: GitHub
- URL: https://github.com/vkuznet/mongo_monitor
- Owner: vkuznet
- Created: 2011-06-27T15:12:52.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-13T17:25:45.000Z (over 13 years ago)
- Last Synced: 2024-10-30T06:27:36.167Z (3 months ago)
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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.2LICENSE:
--------
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 --helpPlease 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.