Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40395

"errmsg" : "no such command: 'setFreeMonitoring'", method does not seem to be available

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.0.6
    • Component/s: Build, Internal Code
    • None

      When customer tries to call >db.enableFreeMonitoring() the following error is returned:

      >2019-03-28T19:59:54.843+0900 E QUERY [js] Error: command failed: {
      "operationTime" : Timestamp(1553770792, 1),
      "ok" : 0,
      "errmsg" : "no such command: 'setFreeMonitoring'",
      "code" : 59,
      "codeName" : "CommandNotFound",

      Customer is using community version of Mongodb version 4.0.6 and downloaded binaries from  https://www.mongodb.org/dl/linux/x86_64?_ga=2.57114094.591830261.1554085034-1342414966.1554085034

      linux/mongodb-linux-x86_64-4.0.6.tgz 2019-02-05 05:32:55 73265692

      I have tested this version from 2019-02-05 and also the latest and have managed to reproduce the problem.  The problem does not exist on the community version which I have installed on my macOS.

      It appears that setFreeMonitoring is missing from this build and the behaviour is the same as for Enterprise edition.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            sheila.doyle@mongodb.com Sheila Doyle
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: