### ### Connecting to the primary and enabling free monitoring ### ➜ scripts git:(master) ✗ downloads/mongo --port 17000 {"t":{"$date":"2020-05-18T17:25:50.860Z"},"s":"I", "c":"NETWORK", "id":4648602, "ctx":"main","msg":"Implicit TCP FastOpen in use."} MongoDB shell version v4.4.0-rc6 connecting to: mongodb://127.0.0.1:17000/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("cc9ab198-71fb-4807-900e-96dbd645b9d2") } MongoDB server version: 4.4.0-rc6 Server has startup warnings: {"t":{"$date":"2020-05-18T13:24:21.515-04:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T13:24:21.515-04:00"},"s":"W", "c":"CONTROL", "id":22140, "ctx":"initandlisten","msg":"This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip
to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T13:24:21.515-04:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":256,"recommendedMinimum":64000},"tags":["startupWarnings"]} --- Enable MongoDB's free cloud-based monitoring service, which will then receive and display metrics about your deployment (disk utilization, CPU, operation statistics, etc). The monitoring data will be available on a MongoDB website with a unique URL accessible to you and anyone you share the URL with. MongoDB may use this information to make product improvements and to suggest MongoDB products and deployment options to you. To enable free monitoring, run the following command: db.enableFreeMonitoring() To permanently disable this reminder, run the following command: db.disableFreeMonitoring() --- free_mon:PRIMARY> db.enableFreeMonitoring() { "state" : "enabled", "message" : "To see your monitoring data, navigate to the unique URL below. Anyone you share the URL with will also be able to view this page. You can disable monitoring at any time by running db.disableFreeMonitoring().", "url" : "https://cloud-dev.mongodb.com/freemonitoring/cluster/RCGUDIVI23STWF4MMF6NVJUROSD3BV6Y", "userReminder" : "", "ok" : 1, "$clusterTime" : { "clusterTime" : Timestamp(1589822756, 2), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } }, "operationTime" : Timestamp(1589822756, 2) } free_mon:PRIMARY> exit bye ### ### Connecting to a secondary of the replica set (shows a different URL) ### ➜ scripts git:(master) ✗ downloads/mongo --port 17001 {"t":{"$date":"2020-05-18T17:26:01.814Z"},"s":"I", "c":"NETWORK", "id":4648602, "ctx":"main","msg":"Implicit TCP FastOpen in use."} MongoDB shell version v4.4.0-rc6 connecting to: mongodb://127.0.0.1:17001/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("3f5eb3b2-a700-4096-ab29-88d74c49d8e7") } MongoDB server version: 4.4.0-rc6 Server has startup warnings: {"t":{"$date":"2020-05-18T13:24:22.262-04:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T13:24:22.262-04:00"},"s":"W", "c":"CONTROL", "id":22140, "ctx":"initandlisten","msg":"This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip
to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T13:24:22.262-04:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":256,"recommendedMinimum":64000},"tags":["startupWarnings"]} --- Free Monitoring URL: https://cloud-dev.mongodb.com/freemonitoring/cluster/3PR4VWVSLHVDNKPOWQ2A4QFPZVK4PMR7 --- free_mon:SECONDARY> exit ### ### After restarting the replica set ### ➜ scripts git:(master) ✗ downloads/mongo --port 17000 {"t":{"$date":"2020-05-18T18:27:33.345Z"},"s":"I", "c":"NETWORK", "id":4648602, "ctx":"main","msg":"Implicit TCP FastOpen in use."} MongoDB shell version v4.4.0-rc6 connecting to: mongodb://127.0.0.1:17000/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("d7c3a82f-efe1-40db-a81f-b47df486c127") } MongoDB server version: 4.4.0-rc6 Server has startup warnings: {"t":{"$date":"2020-05-18T14:26:05.916-04:00"},"s":"W", "c":"CONTROL", "id":20698, "ctx":"main","msg":"***** SERVER RESTARTED *****","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T14:26:06.753-04:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T14:26:06.753-04:00"},"s":"W", "c":"CONTROL", "id":22140, "ctx":"initandlisten","msg":"This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip
to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T14:26:06.753-04:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":256,"recommendedMinimum":64000},"tags":["startupWarnings"]} --- Free Monitoring URL: https://cloud-dev.mongodb.com/freemonitoring/cluster/RCGUDIVI23STWF4MMF6NVJUROSD3BV6Y --- free_mon:PRIMARY> exit bye ➜ scripts git:(master) ✗ downloads/mongo --port 17001 {"t":{"$date":"2020-05-18T18:27:37.558Z"},"s":"I", "c":"NETWORK", "id":4648602, "ctx":"main","msg":"Implicit TCP FastOpen in use."} MongoDB shell version v4.4.0-rc6 connecting to: mongodb://127.0.0.1:17001/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("d1aca5f0-f361-43d5-8b28-012d8b0a9c6f") } MongoDB server version: 4.4.0-rc6 Server has startup warnings: {"t":{"$date":"2020-05-18T14:26:08.832-04:00"},"s":"W", "c":"CONTROL", "id":20698, "ctx":"main","msg":"***** SERVER RESTARTED *****","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T14:26:09.709-04:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T14:26:09.709-04:00"},"s":"W", "c":"CONTROL", "id":22140, "ctx":"initandlisten","msg":"This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip
to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning","tags":["startupWarnings"]} {"t":{"$date":"2020-05-18T14:26:09.709-04:00"},"s":"W", "c":"CONTROL", "id":22184, "ctx":"initandlisten","msg":"Soft rlimits too low","attr":{"currentValue":256,"recommendedMinimum":64000},"tags":["startupWarnings"]} --- Free Monitoring URL: https://cloud-dev.mongodb.com/freemonitoring/cluster/RCGUDIVI23STWF4MMF6NVJUROSD3BV6Y --- free_mon:SECONDARY>