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

Allow hiding of specific startup warnings via config params

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Case:

      Description

      Some production deployments are forced to run ext4 filesystems (for example) due to legal/licensing reasons. This causes a startup warning on every node. When using monitoring tools (such as Ops Manager), this can create false positives and admins may be tempted to disable startup warning checks completely.

      I'm requesting a new configuration option to disable specific startup warnings, so that remaining warnings are true positives and don't spam Ops Manager alerts etc.

      I envisage a new configuration file option like systemLog.hideWarnings which takes an array of strings like {{"dbPath-ext4"} that disables just the ext4 dbPath volume warning, but leaves all others in place.

      This will require naming every warning and adding logic in startup_warnings_mongod.cpp and startup_warnings_common.cpp.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-devtools DO NOT USE - Backlog - Dev Tools
              Reporter:
              nicholas.cottrell Nic Cottrell
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: