我已经在本地设置了MongoDB(Community Server Edition-4.0.4)集群。启用免费监控时,出现以下消息
无法立即从Cloud Monitoring服务获得响应。我们将>在后台继续重试。请检查您的防火墙设置,以确保mongod可以与>“ https://cloud.mongodb.com/freemonitoring/mongo”
通信
当我使用
检查免费的监视状态时db.getFreeMonitoringStatus()
我将状态设为待定。下面的消息
{
"state" : "pending",
"message" : "",
"url" : "",
"userReminder" : "",
"ok" : 1,
"operationTime" : Timestamp(1547028390, 1),
"$gleStats" : {
"lastOpTime" : Timestamp(0, 0),
"electionId" : ObjectId("7fffffff0000000000000008")
},
"lastCommittedOpTime" : Timestamp(1547028390, 1),
"$configServerState" : {
"opTime" : {
"ts" : Timestamp(1547028387, 1),
"t" : NumberLong(7)
}
},
"$clusterTime" : {
"clusterTime" : Timestamp(1547028393, 1),
"signature" : {
"hash" : BinData(0,"UO/U7MQQqaAHMPkEpNkoN0SZ2eg="),
"keyId" : NumberLong("6643691267286892546")
}
}
}