我的数据库在 EC2 上,我已成功安装 MMS 代理并成功运行。但是,当我从 MMS 主机检查时,它说
You do not have a monitoring agent that is sending data to MMS or hosts configured.
当我查看日志时...它说
2013-05-10 16:49:02,810 INFO Started agent parent process - version: 1.5.7
2013-05-10 16:49:07,996 INFO Starting agent process - version 1.5.7
2013-05-10 16:49:08,002 INFO Started agent process - parent pid: 1196 - version: 1.5.7
并且似乎运行正常.. 检查代理部分时从 MMS 服务
ip-xx-xx-xx-xx xxx.xxx.xxx.xxx 12 1.5.7 05-10-13 - 10:11
它显示正确。
我需要通过某种防火墙问题或出站设置吗?请帮忙...
(更新)当我尝试从 EC2 实例远程登录时,我得到了这个......似乎我可以远程登录到 mms.10gen.com
telnet mms.10gen.com 443
Trying 75.101.156.xxx...
Connected to mms.10gen.com.
Escape character is '^]'.
Connection closed by foreign host.
(另一个更新)这是我从代理日志中得到的 .. 好像我遇到了数据库连接问题?
Problem collecting non-blocking data from: 54.215.108.xxx:27017 - exception: Traceback (most recent call last): File "/root/deploy/versions/p4n_config/master/p4n_config/resources/mms-agent/nonBlockingStats.py", line 56, in run monitorConn = self.mmsAgent.getDbConnection( self.hostKey ) File "/root/deploy/versions/p4n_config/master/p4n_config/resources/mms-agent/mmsAgent.py", line 109, in getDbConnection return pymongo.Connection( hostDef['mongoUri'] , slave_okay=True, ssl=True, document_class=bson.son.SON ) File "/usr/local/lib/python2.7/dist-packages/pymongo/connection.py", line 220, in __init__ max_pool_size, document_class, tz_aware, _connect, **kwargs) File "/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py", line 336, in __init__ raise ConnectionFailure(str(e)) ConnectionFailure: could not connect to 54.215.108.xxx:27017: timed out