18. MMS の仕組み
MMS
(on AWS)
your server #1
MMS Agent
your server #2
pymongo
Internet
mongod
mongod
push data
(over HTTP/SSL)
gather data
view data
your client
Web browser
your server #3
mongod
gather data
app
key
19. MMSのインストール
1. MMSのアカウントを作る
o http://www.10gen.com/products/mongodb-monitoring-service
2. MMSにログイン
o https://mms.10gen.com/user/login
3. MMS Agentのダウンロード
o settingsからアプリキー込みのバイナリをダウンロード
4. Pythonとpymongoのインストール
5. MMS Agentの解凍&起動
$ yum install python python-setuptools
$ easy_install pymongo simple_json
$ unzip 10gen-mms-agent-mlfie.zip
$ cd mms-agent
$ python agent.py